コード例 #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>();
     sp            = GetComponent <SteeringParams>();
     charRigidBody = GetComponent <Rigidbody>();
 }
コード例 #3
0
ファイル: DynoSeek.cs プロジェクト: JPsLucky13/AI_4_GAMES
 // Use this for initialization
 void Start()
 {
     sp         = GetComponent <SteeringParams>();
     goalObject = GetComponent <GoalNamespace.Goal>();
 }
コード例 #4
0
        // Use this for initialization

        void Start()
        {
            goal_script = GetComponent <Goal>();
            goal_script.setGoal(ordered_goals[goal_index]);
        }