public void GameSparksInitialConfig() { ObjectsForGamesparks objectsNeeded = GameObject.Find("ObjectsForGamesparks").GetComponent <ObjectsForGamesparks>(); teamChatManager = objectsNeeded.teamChatManager; platoonMembersManager = objectsNeeded.platoonMembersManager; platoonKickedPanel = objectsNeeded.platoonKickedPanel; platoonManager = objectsNeeded.platoonManager; }
void Start() { platoonMembersManagers = this.GetComponent <PlatoonMembersManager>(); GetMyTeamsRequest(); }