PlaceableObjectData.cs 584 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. namespace KairoEngine.Grids
  6. {
  7. [System.Serializable]
  8. public class PlaceableObjectData
  9. {
  10. [HideLabel, HorizontalGroup("connector", 0.03f)] public bool destructable = true;
  11. [HideLabel, HorizontalGroup("connector", 0.52f)] public PlacedObjectType building;
  12. [HideLabel, HorizontalGroup("connector", 0.15f)] public Vector2Int position;
  13. [HideLabel, HorizontalGroup("connector", 0.3f)] public PlacedObjectType.Dir dir;
  14. }
  15. }