123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using UnityEngine;
- namespace DataTools
- {
- [Serializable]
- public class Instruction
- {
- [JsonProperty]
- [SerializeField]
- private string conversationID;
- [JsonProperty]
- [SerializeField]
- private List<GigAction> actions;
- public Instruction(string conversationID, List<GigAction> actions)
- {
- this.conversationID = conversationID;
- this.actions = actions;
- }
- [JsonIgnore]
- public string ConversationID
- {
- get
- {
- return conversationID;
- }
- set
- {
- conversationID = value;
- }
- }
- [JsonIgnore]
- public List<GigAction> Actions
- {
- get
- {
- return actions;
- }
- set
- {
- actions = value;
- }
- }
- }
- }
|