// Use this for initialization void Start() { goalObject = GetComponent <GoalNamespace.Goal>(); goalSwitcher = GetComponent <GoalNamespace.GoalSwitcher>(); sp = GetComponent <SteeringParams>(); charRigidBody = GetComponent <Kinematic>(); }
// Use this for initialization void Start() { goalObject = GetComponent <GoalNamespace.Goal>(); sp = GetComponent <SteeringParams>(); charRigidBody = GetComponent <Rigidbody>(); }
// Use this for initialization void Start() { sp = GetComponent <SteeringParams>(); goalObject = GetComponent <GoalNamespace.Goal>(); }
// Use this for initialization void Start() { goal_script = GetComponent <Goal>(); goal_script.setGoal(ordered_goals[goal_index]); }