Beispiel #1
0
 /// <summary>
 /// When the Team object to which this TeamInfo component belongs is instantiated, it should
 /// be grouped under the Teams object.
 /// </summary>
 public Team(IGameObject gameObject) : base(gameObject)
 {
     teamsObject = gameObject.Find("Teams");
     gameObject.transform.parent = teamsObject.transform;
 }
Beispiel #2
0
 public Player(IGameObject gameObject) : base(gameObject)
 {
     LocalPlayer = this;
     fullBlock   = gameObject.Find("RotatingBlock");
     halfBlock   = gameObject.Find("RotatingHalfBlock");
 }