ComponentUtility
Class in Nostalgia / Inherits from: object
Description
Component utility class for Editor
Static Fields
| Field Name | Description |
|---|---|
| editorProcessor | Component processor in Editor |
| inEditor | Flags in Editor |
Static Methods
| Method Name | Description |
|---|---|
| AddComponent | Add component. |
| AddObjectToAsset | Add object to asset. |
| CollapseUndoOperations | Collapses all undo operation up to group index together into one step. |
| CopyMap | Copy the Map to the clipboard. |
| DelayCall | Delay call. Delayed only in Editor. |
| Destroy | Destroy object. |
| DestroyImmediate | Immediately destroy the Object. |
| GetCurrentGroup | Get the current Undo group index. |
| IncrementCurrentGroup | Increment the current Undo group index. |
| IsExistObject | Check if Object exists. |
| IsMissingObject | Check if the Object is Missing. |
| IsValidObject | Check if Object is valid. |
| PasteMapValues | Paste the Map from the clipboard. |
| QueuePlayerLoopUpdate | Add player loop updates to the queue. |
| RecordObject | Record object. |
| RegisterCompleteObjectsUndo | Register Objects in Undo. |
| RegisterCompleteObjectUndo | Register Object in Undo. |
| RegisterCreatedObjectUndo | Register created Object in Undo. |
| SetCurrentGroupName | Set the name of the current undo group. |
| SetDirty | Marks an Object as dirty. |
| SetSelectedWireframeHidden | Set whether to hide the selected wireframe. |
| ValidatePasteMapValues | Validate if the Map can be pasted from the clipboard. |
Types
| Type Name | Description |
|---|---|
| InEditorScope | Scope to set to be in Editor |
Delegates
| Type Name | Description |
|---|---|
| DelayCallBack | Delegate of delayed invoked method |