Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     rb           = GetComponent <Rigidbody>();
     currentState = KinematicStates.Wander;
 }
Beispiel #2
0
 public void SetState(KinematicStates newState)
 {
     currentState = newState;
 }