// Start is called before the first frame update void Start() { GAManager = G_manager.GetComponent <GAManager>(); photonView = GetComponent <PhotonView>(); GameObject[] players = GameObject.FindGameObjectsWithTag("Player"); if (players.Length > 0) { foreach (GameObject player in players) { if (player.GetComponent <PhotonView>().IsMine) { if (PlayerNetwork.Instance.myCharacter == 0) { if (whichPlayer == 0) { detectPlayer = player; } } else { if (whichPlayer == 1) { detectPlayer = player; } } } } } }
// Start is called before the first frame update void Start() { photonView = GetComponent<PhotonView>(); GAManager = G_manager.GetComponent<GAManager>(); anim = GetComponent<Animator>(); isStart = false; if (PlayerNetwork.Instance.myCharacter == 0) { isBlind = true; } }
// Start is called before the first frame update void Start() { photonView = GetComponent <PhotonView>(); GAManager = G_manager.GetComponent <GAManager>(); }
// Start is called before the first frame update void Start() { GAManager = G_manager.GetComponent <GAManager>(); }