void Start() { photonView = GetComponent <PhotonView>(); gameManager = GameManager.Instance; chattingPanel = ChattingPanel.Instance; controlPanelAnimator = controlPanel.GetComponent <Animator>(); SetToDefaultSearchMode(); }
void Start() { photonView = GetComponent <PhotonView>(); camManager = GetComponent <CameraManager>(); masterPlayer = PhotonNetwork.masterClient; playerStats = PlayerStats.Instance; teamController = TeamController.Instance; chattingPanel = ChattingPanel.Instance; objectPooler = ObjectPooler.Instance; totalRoundGame = (int)PhotonNetwork.room.CustomProperties["Round"]; matchPoint = totalRoundGame / 2; winPoint = matchPoint + 1; }
void Awake() { Instance = this; }
void Start() { teamController = TeamController.Instance; chattingPanel = ChattingPanel.Instance; }