void Awake() { if (instance != null) { Debug.LogError("More than 1 BuildMechanics!"); } instance = this; }
void Start() { buildMechanics = BuildMechanics.instance; }
void Start() { buildMechanics = BuildMechanics.instance; tileRender = GetComponent <Renderer>(); defaultTileColor = tileRender.material.color; }