예제 #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());
 }
예제 #3
0
 void Start()
 {
     cc = GetComponent <CharacterControls>();
 }