created mesh array - WIP

the meshes are generated in a grid formation but not positioned correctly :(
This commit is contained in:
Simon O'Shea
2023-08-05 15:34:41 -04:00
parent 31151bc9b6
commit 94b8f55509
6 changed files with 297 additions and 180 deletions
@@ -5,10 +5,13 @@ using UnityEngine;
public class Main : MonoBehaviour
{
[SerializeField] private CellMesh cellMesh;
private LogicGrid world;
char placementMode;
int placementValue;
// Start is called before the first frame update
void Start()
{
@@ -18,6 +21,9 @@ public class Main : MonoBehaviour
// Set default placement to Obstacle
placementValue = -1;
placementMode = 'o';
cellMesh.SetGrid(world);
Debug.Log("Loaded. Placing Mode: Obstacle");
}