Example #1
0
    void FixedUpdate()
    {
        BTTreeManager.Instance.Step();
        ZTTimer.Instance.Step();
        ZTAction.Update();
        ZTEffect.Instance.Step();

        if (Input.GetKeyDown(KeyCode.S))
        {
            ZTEvent.FireEvent(EventID.REQ_CAST_SKILL, ESkillPos.Skill_0);
        }
    }
Example #2
0
 void FixedUpdate()
 {
     ZTAction.Update();
 }