示例#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);
        }
    }
示例#2
0
 void FixedUpdate()
 {
     ZTAction.Update();
 }