public override void OnEnter()
    {
        // Lets search for a navigation path
        if (_navigationPath == null)
        {
            _navigationPath = FindObjectOfType <AINavigationPath>();
        }

        _stateMachine.Animator.SetBool("Alert", false);
    }
Пример #2
0
    public override void OnEnter()
    {
        // Lets search for a navigation path
        if (_navigationPath == null)
        {
            _navigationPath = FindObjectOfType <AINavigationPath>();
        }

        AISoundManager.SetPlayingSoundType(ESoundType.Roaming);
    }