Class EditorUtility
Utilities for working in Unity editor.
Inheritance
System.Object
EditorUtility
Namespace: UnityEditor.ProBuilder
Syntax
public static class EditorUtility
Methods
SynchronizeWithMeshFilter(ProBuilderMesh)
Ensure that this object has a valid mesh reference, and the geometry is current. If it is not valid, this function will attempt to repair the sync state.
Declaration
public static void SynchronizeWithMeshFilter(ProBuilderMesh mesh)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The component to test. |
See Also
Events
meshCreated
Declaration
public static event Action<ProBuilderMesh> meshCreated
Event Type
Type | Description |
---|---|
System.Action<ProBuilderMesh> | Subscribe to this delegate to be notified when a new mesh has been created and initialized through ProBuilder. |
Remarks
This is only called when an object is initialized in editor, and created by ProBuilder menu items.