protected override void Awake() { _Instance = this; InitializeGrid(); InitializeWorldTiles(); }
private void Awake() { Instance = this; int gridWidth = 10; int gridHeight = 10; float cellSize = 10f; grid = new Grid <GridObject>(gridWidth, gridHeight, cellSize, new Vector3(0, 0, 0), (Grid <GridObject> g, int x, int y) => new GridObject(g, x, y)); placedObjectTypeSO = null; }