public void setHightLight() { transform.gameObject.GetComponent <Renderer> ().material = greenNode; NodeState = TileSTATE.HIGHLIGHT; }
public void SetOccupied() { transform.gameObject.GetComponent <Renderer> ().material = redNode; NodeState = TileSTATE.OCCUPIED; }
public void SetDefault() { transform.gameObject.GetComponent <Renderer> ().material = defaultNode; NodeState = TileSTATE.EMPTY; }
void Start() { NodeState = TileSTATE.EMPTY; NodeStatus = TileSTATUS.NONE; }