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;
    }
示例#3
0
 void Awake()
 {
     Instance = this;
 }
示例#4
0
 void Start()
 {
     teamController = TeamController.Instance;
     chattingPanel  = ChattingPanel.Instance;
 }