Exemple #1
0
 private void Start()
 {
     redHome            = GetComponentInParent <RedHome>();
     redHomeRollingDice = GetComponentInParent <RedHome>().rollingDice;
     aiManager          = GetComponentInParent <AIManager>();
     diceManager        = GameObject.Find("DiceManager").GetComponent <DiceManager>();
 }
Exemple #2
0
 private void Start()
 {
     // _aiTurn = false;
     _BlueHome           = GameObject.Find("BlueHome").GetComponent <BlueHome>();
     _RedHome            = GameObject.Find("RedHome").GetComponent <RedHome>();
     blueHomeRollingDice = GameObject.Find("BlueHome").GetComponent <BlueHome>().rollingDice;
     redHomeRollingDice  = GameObject.Find("RedHome").GetComponent <RedHome>().rollingDice;
 }
 public override string ToString() => $"N({RedHome.ToString().ToLower()},{BlueHome.ToString().ToLower()})";