示例#1
0
 void Awake()
 {
     Instance              = this;
     PlayerControl         = GameObject.Find("GameControl");
     PlayerControlScript   = PlayerControl.GetComponent <SwitchButton> ();
     GameControllerScript  = PlayerControl.GetComponent <GameManager> ();
     CursorSelectionScript = PlayerControl.GetComponent <CursorSelection> ();
     actionOrderHandler    = PlayerControl.GetComponent <TurnActionOrderHandler> ();
 }
示例#2
0
 void Awake()
 {
     Instance = this;
 }