Beispiel #1
0
    // Update is called once per frame
    void Update()
    {
        TestMethold();

        UpdateState();
        aniControl.ExecuteAnimations();

        if (Distance(villagePoint.position, transform.position) < radiusVillage)
        {
            EnterState(TypeStateCharacter.Back);
        }
    }
Beispiel #2
0
    // Update is called once per frame
    void Update()
    {
        aniControl.SpeedPercent = SpeedPercent;
        aniControl.IsAttack     = IsAttackTest;
        aniControl.IsDash       = IsDashTest;
        aniControl.IsAction     = IsActionTest;
        aniControl.IsDead       = IsDeadTest;
        aniControl.IsRise       = IsRiseTest;
        aniControl.IsFakeDead   = IsFakeDeadTest;
        aniControl.IsFall       = IsFallTest;

        aniControl.ExecuteAnimations();
    }