BuildingEffectArea.cs 616 B

1234567891011121314151617
  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 BuildingEffectArea
  9. {
  10. [FoldoutGroup("@areaName")] public string areaName = "New Effect Area";
  11. [FoldoutGroup("@areaName")] public Vector2Int originOffset = new Vector2Int(0,0);
  12. [FoldoutGroup("@areaName")] public Vector2Int size = new Vector2Int(1,1);
  13. [FoldoutGroup("@areaName")] public GameObject arrowPrefab;
  14. [FoldoutGroup("@areaName")] public PlacedObjectType.Dir arrowDirection;
  15. }
  16. }