Class GameObjectUtility
Inheritance
GameObjectUtility
Assembly: UnityEditor.dll
Syntax
public sealed class GameObjectUtility
Methods
AreStaticEditorFlagsSet(GameObject, StaticEditorFlags)
Declaration
public static bool AreStaticEditorFlagsSet(GameObject go, StaticEditorFlags flags)
Parameters
Returns
EnsureUniqueNameForSibling(GameObject)
Declaration
public static void EnsureUniqueNameForSibling(GameObject self)
Parameters
GetNavMeshArea(GameObject)
Declaration
public static int GetNavMeshArea(GameObject go)
Parameters
Returns
GetNavMeshAreaFromName(String)
Declaration
public static int GetNavMeshAreaFromName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
GetNavMeshAreaNames()
Declaration
public static string[] GetNavMeshAreaNames()
Returns
|
Improve this Doc
View Source
GetNavMeshLayer(GameObject)
Declaration
[Obsolete("GetNavMeshArea instead.")]
public static int GetNavMeshLayer(GameObject go)
Parameters
Returns
|
Improve this Doc
View Source
GetNavMeshLayerFromName(String)
Declaration
[Obsolete("GetNavMeshAreaFromName instead.")]
public static int GetNavMeshLayerFromName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
GetNavMeshLayerNames()
Declaration
[Obsolete("GetNavMeshAreaNames instead.")]
public static string[] GetNavMeshLayerNames()
Returns
GetStaticEditorFlags(GameObject)
Declaration
public static StaticEditorFlags GetStaticEditorFlags(GameObject go)
Parameters
Returns
Declaration
public static string GetUniqueNameForSibling(Transform parent, string name)
Parameters
Returns
SetNavMeshArea(GameObject, Int32)
Declaration
public static void SetNavMeshArea(GameObject go, int areaIndex)
Parameters
|
Improve this Doc
View Source
SetNavMeshLayer(GameObject, Int32)
Declaration
[Obsolete("SetNavMeshArea instead.")]
public static void SetNavMeshLayer(GameObject go, int areaIndex)
Parameters
|
Improve this Doc
View Source
SetParentAndAlign(GameObject, GameObject)
Declaration
public static void SetParentAndAlign(GameObject child, GameObject parent)
Parameters
SetStaticEditorFlags(GameObject, StaticEditorFlags)
Declaration
public static void SetStaticEditorFlags(GameObject go, StaticEditorFlags flags)
Parameters
Extension Methods