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