Files
XCEngine/docs/api/XCEngine/Components/GameObject/LateUpdate.md

683 B

GameObject::LateUpdate

公开方法,详见头文件声明。

void LateUpdate(float deltaTime);

该方法声明于 XCEngine/Components/GameObject.h,当前页面用于固定 GameObject 类目录下的方法级 canonical 路径。

参数:

  • deltaTime - 参数语义详见头文件声明。

返回: void - 无返回值。

示例:

#include <XCEngine/Components/GameObject.h>

void Example() {
    XCEngine::Components::GameObject object;
    // 根据上下文补齐参数后调用 GameObject::LateUpdate(...)。
    (void)object;
}

相关文档