Show / Hide Table of Contents

Class GameObjectUtility

Inheritance
Object
GameObjectUtility
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public sealed class GameObjectUtility

Methods

AreStaticEditorFlagsSet(GameObject, StaticEditorFlags)

Declaration
public static bool AreStaticEditorFlagsSet(GameObject go, StaticEditorFlags flags)
Parameters
Type Name Description
GameObject go
StaticEditorFlags flags
Returns
Type Description
Boolean

EnsureUniqueNameForSibling(GameObject)

Declaration
public static void EnsureUniqueNameForSibling(GameObject self)
Parameters
Type Name Description
GameObject self

GetNavMeshArea(GameObject)

Declaration
public static int GetNavMeshArea(GameObject go)
Parameters
Type Name Description
GameObject go
Returns
Type Description
Int32

GetNavMeshAreaFromName(String)

Declaration
public static int GetNavMeshAreaFromName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Int32

GetNavMeshAreaNames()

Declaration
public static string[] GetNavMeshAreaNames()
Returns
Type Description
String[]
| Improve this Doc View Source

GetNavMeshLayer(GameObject)

Declaration
[Obsolete("GetNavMeshArea instead.")]
public static int GetNavMeshLayer(GameObject go)
Parameters
Type Name Description
GameObject go
Returns
Type Description
Int32
| Improve this Doc View Source

GetNavMeshLayerFromName(String)

Declaration
[Obsolete("GetNavMeshAreaFromName instead.")]
public static int GetNavMeshLayerFromName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Int32
| Improve this Doc View Source

GetNavMeshLayerNames()

Declaration
[Obsolete("GetNavMeshAreaNames instead.")]
public static string[] GetNavMeshLayerNames()
Returns
Type Description
String[]

GetStaticEditorFlags(GameObject)

Declaration
public static StaticEditorFlags GetStaticEditorFlags(GameObject go)
Parameters
Type Name Description
GameObject go
Returns
Type Description
StaticEditorFlags

GetUniqueNameForSibling(Transform, String)

Declaration
public static string GetUniqueNameForSibling(Transform parent, string name)
Parameters
Type Name Description
Transform parent
String name
Returns
Type Description
String

SetNavMeshArea(GameObject, Int32)

Declaration
public static void SetNavMeshArea(GameObject go, int areaIndex)
Parameters
Type Name Description
GameObject go
Int32 areaIndex
| Improve this Doc View Source

SetNavMeshLayer(GameObject, Int32)

Declaration
[Obsolete("SetNavMeshArea instead.")]
public static void SetNavMeshLayer(GameObject go, int areaIndex)
Parameters
Type Name Description
GameObject go
Int32 areaIndex
| Improve this Doc View Source

SetParentAndAlign(GameObject, GameObject)

Declaration
public static void SetParentAndAlign(GameObject child, GameObject parent)
Parameters
Type Name Description
GameObject child
GameObject parent

SetStaticEditorFlags(GameObject, StaticEditorFlags)

Declaration
public static void SetStaticEditorFlags(GameObject go, StaticEditorFlags flags)
Parameters
Type Name Description
GameObject go
StaticEditorFlags flags

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX