示例#1
0
 protected void Start()
 {
     turnChanger = new TurnChanger(OnNewRound, OnNewTurn, OnNewPhase);
     thisButton  = GetComponent <Button>();
     text        = GetComponentInChildren <Text>();
     thisButton.onClick.AddListener(GameRound.instance.OnClick);
     TurnOff();
 }
示例#2
0
 protected void Start()
 {
     turnChanger      = new TurnChanger(OnNewRound, OnNewTurn, OnNewPhase);
     TurnMumber.text  = "Drag units to position them!";
     TurnMumber.color = Color.green;
 }
 protected void Start()
 {
     turnChanger  = new TurnChanger(OnNewRound, OnNewTurn, OnNewPhase);
     popupsToShow = new Queue <PopupInformation>();
 }
示例#4
0
 void Awake()
 {
     flag        = GetComponent <Image>();
     emblem      = GetComponentsInChildren <Image>()[1];
     turnChanger = new TurnChanger(OnNewRound, OnNewTurn, OnNewPhase);
 }
示例#5
0
 public void OnCreation()
 {
     turnChanger        = new TurnChanger(OnNewRound, OnNewTurn, OnNewPhase);
     phaseInfoText.text = "Positioning Phase";
 }