游戏对象实用程序函数。
| AreStaticEditorFlagsSet | 如果在指定的游戏对象上设置了传入的 StaticEditorFlags,则返回 true。 |
| EnsureUniqueNameForSibling | 可以在一个游戏对象与另一个游戏对象建立父子关系之后使用此方法,以确保子游戏对象与层级视图中的同级相比具有唯一的名称。 |
| GetMonoBehavioursWithMissingScriptCount | 获得具有给定 GameObject 的缺失脚本的 MonoBehaviours 的数目。 |
| GetNavMeshArea | 获取游戏对象的导航网格区域索引。 |
| GetNavMeshAreaFromName | 从区域名称中获取导航网格区域索引。 |
| GetNavMeshAreaNames | 获取所有导航网格区域名称。 |
| GetStaticEditorFlags | 获取指定的游戏对象的 StaticEditorFlags。 |
| GetUniqueNameForSibling | 可以在实例化一个新的同级之前或者在一个游戏对象与另一个游戏对象建立父子关系之前使用此方法,以确保新的子游戏对象与层级视图中的同级相比具有唯一的名称。 |
| ModifyMaskIfGameObjectIsHiddenForPrefabModeInContext | Use this method if a custom scene culling mask is needed for renderers that should be shown or hidden in a Scene view when Prefab Mode in Context is active. |
| RemoveMonoBehavioursWithMissingScript | 将具有缺失脚本的 MonoBehaviours 从给定 GameObject 中移除。 |
| SetNavMeshArea | 设置游戏对象的导航网格区域。 |
| SetParentAndAlign | 设置父项,并为子项提供相同的层和位置。 |
| SetStaticEditorFlags | 设置指定 GameObject 的 StaticEditorFlags。 |