Exemplo n.º 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());
 }
Exemplo n.º 3
0
 void Start()
 {
     cc = GetComponent <CharacterControls>();
 }