예제 #1
0
 private void OnEnable()
 {
     pv                 = GetComponent <PhotonView>();
     animator           = GetComponent <Animator>();
     gameManager        = FindObjectOfType <GameManager>();
     dayNightController = gameManager.GetComponent <DayNightController>();
     noteRotate         = GameObject.FindGameObjectWithTag("CAM").GetComponentInChildren <NoteRotate>();
     voteRotate         = GameObject.FindGameObjectWithTag("CAM").GetComponentInChildren <VoteRotate>();
     shooted            = false;
 }