using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class UnLockGrid : MonoBehaviour { [SerializeField] private int x; [SerializeField] private int y; public List openData => openList; [SerializeField] private List openList; public Vector3 MouseDev => mouseDev; [SerializeField] public Vector3 mouseDev; public bool UnLockOpen(Grid grid, int x,int y) { return true; } private void Awake() { } // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } private void OnMouseDown() { GameManager.ins.seletUnlock = this; } } [Serializable] public class UnlockData { public int x; public int y; }