void Awake() { navMeshAgent = GetComponent <NavMeshAgent> (); navMeshAgent.stoppingDistance = navStopDistance; hskills = GetComponent <HunterSkills> (); character = GetComponent <NetworkCharacter> (); }
void Awake() { navMeshAgent = GetComponent <NavMeshAgent> (); survivorsk = GetComponent <SurvivorSkills> (); character = GetComponent <NetworkCharacter> (); hskills = GetComponent <HunterSkills> (); navMeshAgent.stoppingDistance = navStopDistance; if (speedMultiplier == null) { speedMultiplier = GetComponent <SpeedMultiplier>(); } deployedTimer = defaultDeployedUsageCooldown; }