Пример #1
0
 // Use this for initialization
 void Start()
 {
     goalObject    = GetComponent <GoalNamespace.Goal>();
     goalSwitcher  = GetComponent <GoalNamespace.GoalSwitcher>();
     sp            = GetComponent <SteeringParams>();
     charRigidBody = GetComponent <Kinematic>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     goalObject   = GetComponent <GoalNamespace.Goal>();
     goalSwitcher = GetComponent <GoalNamespace.GoalSwitcher>();
     sp           = GetComponent <SteeringParams>();
 }