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