private void Awake()
 {
     gamemanager = scripts.GetComponent <Gamemanager>();
     //photonView = scripts.GetComponent<PhotonView>();
     gInstantiateController    = scripts.GetComponent <gInstantiateController>();
     animationControllerscript = scripts.GetComponent <AnimationControllerscript>();
     scriptsPhotonView         = scripts.GetComponent <PhotonView>();
     gUIController             = scripts.GetComponent <gUIController>();
 }
Exemplo n.º 2
0
 public void Awake()
 {
     scoreController = scripts.GetComponent <ScoreController>();
     gamemanager     = scripts.GetComponent <Gamemanager>();
     //photonView = scripts.GetComponent<PhotonView>();//scriptsにphotonviewを付けておくのを忘れずに。
     animationControllerscript = scripts.GetComponent <AnimationControllerscript>();
     gInstantiateController    = scripts.GetComponent <gInstantiateController>();
     scriptsPhotonView         = scripts.GetComponent <PhotonView>();
     gUIController             = scripts.GetComponent <gUIController>();
     gGameboardList            = scripts.GetComponent <gGameboardList>();
     if (PhotonNetwork.CurrentRoom.CustomProperties["Stage"] is string ID)
     {
         Debug.Log("turncontroller2.GameboardID");
         turncontroller2GameboardID = ID;
     }
 }
Exemplo n.º 3
0
 private void Awake()
 {
     startPlayerCount = PhotonNetwork.CurrentRoom.PlayerCount;
     scoreSortScriptObj.SetActive(true);
     gNetworkGameManager    = GetComponent <gNetworkGameManager>();
     gUIController          = GetComponent <gUIController>();
     gGamebordList          = GetComponent <gGameboardList>();
     gAnimationController   = GetComponent <gAnimationController>();
     gInstantiateController = GetComponent <gInstantiateController>();
     waitSetProperties      = waitSetPropertiesObj.GetComponent <WaitSetProperties>();
     turnController1        = turnController1Obj.GetComponent <gTurnController1>();
     turnController2        = turnController2Obj.GetComponent <gTurnController2>();
     //photonViewTurn1 = turnController1Obj.GetComponent<PhotonView>();
     destroyJudge = GetComponent <DestroyJudge>();
     //scoreController = GetComponent<ScoreController>();
     scoreSortScript = scoreSortScriptObj.GetComponent <ScoreSortScript>();
     //photonViewTurn2 = turnController2Obj.GetComponent<PhotonView>();
 }
Exemplo n.º 4
0
 private void Awake()
 {
     gUIController   = GetComponent <gUIController>();
     gamemanager     = GetComponent <Gamemanager>();
     turnController2 = turnController2Obj.GetComponent <gTurnController2>();
 }
 private void Awake()
 {
     gUIController = scripts.GetComponent <gUIController>();
 }