void Awake() { mouseController = GetComponent <MousePositionScript>(); m_PhotonView = GetComponent <PhotonView>(); rb = GetComponent <Rigidbody>(); _teleportToShop = GetComponent <TeleportToShop>(); moveIndicator = GetComponent <MoveIndicatorController>(); }
void Awake() { teleportControl = GetComponent <TeleportToShop>(); audio = GetComponent <AudioSource>(); playerHealth = GetComponent <PlayerHealth_NET>(); charMananager = GetComponent <CharacterManager_NET>(); m_photonView = GetComponent <PhotonView>(); mousePos = GetComponent <MousePositionScript>(); playerAnim = GetComponent <Animator>(); anim = GetComponent <Animator>(); }