void Awake()
 {
     mouseController = GetComponent <MousePositionScript>();
     m_PhotonView    = GetComponent <PhotonView>();
     rb = GetComponent <Rigidbody>();
     _teleportToShop = GetComponent <TeleportToShop>();
     moveIndicator   = GetComponent <MoveIndicatorController>();
 }
Example #2
0
 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>();
 }
 void Awake()
 {
     m_PhotonView    = GetComponent <PhotonView>();
     _teleportToShop = GetComponent <TeleportToShop>();
 }