Beispiel #1
0
 void Start()
 {
     pieceStats          = GameObject.Find("PieceStats").GetComponent <go_PieceStats>();
     inputs              = ScriptableObject.CreateInstance <PlayerInputs> ();
     canvas              = GameObject.Find("Canvas").GetComponent <go_Canvas> ();
     mouseOverPiece_tool = GameObject.Find("PlayerInterfaceTools").transform.FindChild("MouseOverPiece").gameObject;
     pieceMarked_tool    = GameObject.Find("PlayerInterfaceTools").transform.FindChild("PieceMarked").gameObject;
 }
Beispiel #2
0
 public NewTurn()
 {
     canvasControl = GameObject.Find("Canvas").GetComponent <go_Canvas> ();
     inputs        = ScriptableObject.CreateInstance <PlayerInputs> ();
 }
Beispiel #3
0
 public UpdateScene()
 {
     deadPieces = new List <Cell> ();
     canvas     = GameObject.Find("Canvas").GetComponent <go_Canvas> ();
 }