Example #1
0
 void Start()
 {
     movement = GetComponent <CharacterControls>();
     gun      = GetComponent <GunWithClip>();
     team     = GetComponent <TeamMember>().Team;
     StartCoroutine(DefaultState());
 }
 void Start()
 {
     movement = GetComponent <CharacterControls>();
     gun      = GetComponent <GunWithClip>();
     team     = GetComponent <TeamMember>().Team;
     wpm      = GameObject.Find("Waypoints").GetComponent <WaypointManager>();
     inactive = 2;
     StartCoroutine(DefaultState());
 }
Example #3
0
 void Start()
 {
     gun  = GetComponent <GunWithClip>();
     team = GetComponent <TeamMember>();
     StartCoroutine(PatrolState());
 }