コード例 #1
0
 public void setHightLight()
 {
     transform.gameObject.GetComponent <Renderer> ().material = greenNode;
     NodeState = TileSTATE.HIGHLIGHT;
 }
コード例 #2
0
 public void SetOccupied()
 {
     transform.gameObject.GetComponent <Renderer> ().material = redNode;
     NodeState = TileSTATE.OCCUPIED;
 }
コード例 #3
0
 public void SetDefault()
 {
     transform.gameObject.GetComponent <Renderer> ().material = defaultNode;
     NodeState = TileSTATE.EMPTY;
 }
コード例 #4
0
 void Start()
 {
     NodeState  = TileSTATE.EMPTY;
     NodeStatus = TileSTATUS.NONE;
 }