2024-10-24 16:54:32 +08:00

38 lines
723 B
C#

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<Grid> _grids;
public Grid startGrid;
public Vector3 dev;
public void SetOccGrid(List<Grid> _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;
}