class in UnityEditor
/
Implemented in:UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseGameObject utility functions.
AreStaticEditorFlagsSet | Returns true if the passed in StaticEditorFlags are set on the GameObject specified. |
EnsureUniqueNameForSibling | You 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. |
GetMonoBehavioursWithMissingScriptCount | Gets the number of MonoBehaviours with a missing script for the given GameObject. |
GetNavMeshArea | Get the navmesh area index for the GameObject. |
GetNavMeshAreaFromName | Get the navmesh area index from the area name. |
GetNavMeshAreaNames | Get all the navmesh area names. |
GetStaticEditorFlags | Gets the StaticEditorFlags of the GameObject specified. |
GetUniqueNameForSibling | You 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. |
RemoveMonoBehavioursWithMissingScript | Removes the MonoBehaviours with a missing script from the given GameObject. |
SetNavMeshArea | Set the navmesh area for the gameobject. |
SetParentAndAlign | Sets the parent and gives the child the same layer and position. |
SetStaticEditorFlags | Sets the StaticEditorFlags of the specified GameObject. |