Class SceneExtensionsEditor
Extension methods for Unity Editor concerning scene functionnalities
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Extensions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public static class SceneExtensionsEditor
Methods
Name | Description |
---|---|
DestroyImmediateSafe(GameObject, bool) | Destroys GameObject, but ensure that it is properly unpacked if gameobject is part of a prefab (if editor) |
GetMeshData(IList<GameObject>) | Collect all source data (Renderers, meshs, materials) |
GetMeshData(GameObject, out Renderer, out Mesh, out Material[]) | Collect all source data (Renderers, meshs, materials) |
Merge(IList<GameObject>) | Merge all provided gameobjects |
MergeChildren(GameObject) | Merge children (recursively) of given GameObject. If given GameObject has no mesh or renderer, this method will create it with the merged content inside. |
SetParentSafe(Transform, Transform, bool, bool) | Change Tranform's parent, but ensures it is properly unpack if transform is part of a prefab (if editor) |
ShowNonPersistentDialog() | Show a dialog box informing the user that volatile asset are linked to an object and asking if the user want to save them |