123456789101112131415161718192021222324 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using System;
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- public enum GameActionType { TalkTo, TravelTo, StartGig ,Shopping,Purchase,Lookbook,Customization,Assistances}
- [Serializable]
- public class GameAction {
- [JsonProperty]
- [SerializeField]
- // [JsonConverter(typeof(StringEnumConverter))]
- public GameActionType type;
- [JsonProperty]
- [SerializeField]
- public string propertyId;
- public GameAction(GameActionType type,string propertyId)
- {
- this.type = type;
- this.propertyId = propertyId;
- }
- }
|