using System; using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; public class ItemObj : MonoBehaviour { public ItemSize itemSize => size; public GridType type = GridType.wait; [SerializeField] private ItemSize size; [SerializeField] public List _grids; public Grid startGrid; public Vector3 dev; public void SetOccGrid(List _list) { _grids = _list; } // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } } [Serializable] public class ItemSize { public int x = 1; public int y = 1; }