public void OnUpdate(float dt) { if (_currSequece == null) { return; } _currSequece.OnUpdate(dt); }
public void OnUpdate(float dt) { // 通过时间来触发事件, //SkillContainerTest.OnUpdate(dt); if (_curr_sequece == null) { return; } _curr_sequece.OnUpdate(dt); // TODO test code float curr_time = TimeModule.RealtimeSinceStartup; if (curr_time - _last_time > 15.0) { LogManager.Error("技能释放错误,超过时间,Skill:{0}", _curr_sequece); _last_time = TimeModule.RealtimeSinceStartup; } }