Assets.Standard_Assets.Characters.ThirdPersonCharacter.Scripts.AICharacterControl.Start C# (CSharp) Метод

Start() приватный Метод

private Start ( ) : void
Результат void
        private void Start()
        {
            // get the components on the object we need ( should not be null due to require component so no need to check )
            agent = GetComponentInChildren<NavMeshAgent>();
            character = GetComponent<UnityStandardAssets.Characters.ThirdPerson.ThirdPersonCharacter>();

            agent.updateRotation = false;
            agent.updatePosition = true;
        }