This page has been translated automatically.
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Scheduler类

警告
Game Framework is deprecated and no longer supported. We can't guarantee the stable work of the framework.

Scheduler类用来调度对函数或函数组的定期调用和对它们的自动时间扩展。 每秒钟的调用频率可在1次到60次之间选择。

Scheduler类的实现存放在路径下文件data/framework/game/scheduler.h中。

Scheduler Class

成员


Scheduler()

构造函数。 用来创建新Scheduler类的实例。

update()

其作用是更新调度器。

参数

    setPeriodicUpdate()

    其作用是为函数设置定期更新。

    参数

      removePeriodicUpdate()

      其作用是移除函数的定期更新。

      参数

        最新更新: 2017-10-20
        Build: ()