using System.Collections; using System.Collections.Generic; using UnityEngine; using RPGCreationKit; using RPGCreationKit.SaveSystem; namespace RPGCreationKit.SaveSystem { [System.Serializable] public class ItemsInWorldDictionary : SerializableDictionary { } /// /// Represent a single item in world /// [System.Serializable] public class ItemInWorldSaveData { public string worldspaceID; public Vector3 position; public Quaternion rotation; public bool isPickedUp = false; public bool isKinematic = false; } /// /// Represent the collection of all items in world in the game /// [System.Serializable] public class ItemsInWorldData { [SerializeField] public ItemsInWorldDictionary allItemsInWorld = new ItemsInWorldDictionary(); } }