Files
XCEngine/docs/api/XCEngine/Components/Component/Component.md

1.8 KiB
Raw Blame History

Component

命名空间: XCEngine::Components

类型: class (abstract)

头文件: XCEngine/Components/Component.h

描述: 定义 XCEngine/Components 子目录中的 Component public API。

概述

Component.hXCEngine/Components 子目录 下的 public header当前页面作为平行目录中的 canonical 总览,用于汇总该头文件暴露的主要声明。

声明概览

声明 类型 说明
Component class 头文件中的公开声明。

公共方法

方法 描述
~Component() 销毁对象并释放相关资源。
Awake 公开方法,详见头文件声明。
Start 公开方法,详见头文件声明。
Update 更新运行时状态。
FixedUpdate 公开方法,详见头文件声明。
LateUpdate 公开方法,详见头文件声明。
OnEnable 公开方法,详见头文件声明。
OnDisable 公开方法,详见头文件声明。
OnDestroy 公开方法,详见头文件声明。
GetName 获取相关状态或对象。
Serialize 公开方法,详见头文件声明。
Deserialize 公开方法,详见头文件声明。
GetGameObject 获取相关状态或对象。
transform 公开方法,详见头文件声明。
GetScene 获取相关状态或对象。
IsEnabled 查询当前状态。
SetEnabled 设置相关状态或配置。

相关文档