GameObjectUtility

class in UnityEditor

Cambiar al Manual

Descripción

Funciones de utilidad de GameObject.

Funciones Estáticas

AreStaticEditorFlagsSetRetorna ture si el pase en StaticEditorFlags está configurado en el GameObject especificado.
EnsureUniqueNameForSiblingYou can use this method after parenting one GameObject to another to ensure the child GameObject has a unique name compared to its siblings in the hierarchy.
GetNavMeshAreaObtiene el indice de la área navmesh para el GameObject.
GetNavMeshAreaFromNameObtiene el indice de la área navmesh del nombre de la área.
GetNavMeshAreaNamesObtiene todos los nombres del área navmesh.
GetStaticEditorFlagsObtiene el StaticEditorFlags del GameObject especificado.
GetUniqueNameForSiblingYou can use this method before instantiating a new sibling, or before parenting one GameObject to another, to ensure the new child GameObject has a unique name compared to its siblings in the hierarchy.
SetNavMeshAreaEstablece el área navmesh para el gameobject.
SetParentAndAlignEstablece el padre y le da al hijo la misma capa y posición.
SetStaticEditorFlagsEstablece las flags estáticas del editor en el GameObject especificado.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961