//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; }
//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; }