コード例 #1
0
    // Use this for initialization
    void Start()
    {
        character = GetComponent <ThirdPersonRunner>();
        agent     = GetComponent <NavMeshAgent>();

        agent.updateRotation = false;
        agent.updatePosition = false;
    }
コード例 #2
0
 void Start()
 {
     person = GetComponent <ThirdPersonRunner>();
 }