Version: 2019.4

GameObjectUtility

class in UnityEditor

マニュアルに切り替える

説明

GameObject のユーティリティクラスです

Static 関数

AreStaticEditorFlagsSet渡された StaticEditorFlags が指定された GameObject に設定されている場合、True を返します
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.
GetMonoBehavioursWithMissingScriptCountGets the number of MonoBehaviours with a missing script for the given GameObject.
GetNavMeshAreaGameObject から NavMesh エリアを取得します
GetNavMeshAreaFromNameNavMesh エリア名から NavMesh エリアの値を取得します
GetNavMeshAreaNames存在するすべての NavMesh エリア名を取得します
GetStaticEditorFlags指定された GameObject の StaticEditorFlags を取得します
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.
RemoveMonoBehavioursWithMissingScriptRemoves the MonoBehaviours with a missing script from the given GameObject.
SetNavMeshAreaGameObject の NavMesh エリアを設定します
SetParentAndAlign親を設定し、子に同じレイヤーと位置を与えます
SetStaticEditorFlagsSets the StaticEditorFlags of the specified GameObject.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961