Example #1
0
 //When intialized, a floor light controller sends message to board about which board cell it is mounted.
 public void FixLight(FloorLightController flc)
 {
     BoardCells [flc.row, flc.col]              = new BoardCell();
     BoardCells [flc.row, flc.col].cellPos      = new Vector2(flc.transform.position.x, flc.transform.position.z);
     BoardCells [flc.row, flc.col].lightManager = flc;
 }
Example #2
0
 //When intialized, a floor light controller sends message to board about which board cell it is mounted.
 public void FixLight(FloorLightController flc)
 {
     BoardCells [flc.row, flc.col] = new BoardCell();
     BoardCells [flc.row, flc.col].cellPos = new Vector2 (flc.transform.position.x, flc.transform.position.z);
     BoardCells [flc.row, flc.col].lightManager = flc;
 }