Interface for Editor processing such as Undo.
More...
Interface for Editor processing such as Undo.
Used with ComponentUtility.
◆ AddComponent()
| Component AddComponent |
( |
GameObject |
gameObject, |
|
|
System.Type |
type |
|
) |
| |
Add component.
- Parameters
-
| gameObject | GameObject |
| type | Component type |
- Returns
- Component
◆ DelayCall()
◆ DelayDestroy()
| void DelayDestroy |
( |
Object |
obj | ) |
|
Delay Destroy.
- Parameters
-
◆ Destroy()
| void Destroy |
( |
Object |
objectToUndo | ) |
|
Destroy object.
- Parameters
-
◆ MoveBehaviour()
Move behavior to node.
- Parameters
-
◆ MoveVariable()
Move variable to parameter.
Valid only in Editor.
- Parameters
-
◆ RecordObject()
| void RecordObject |
( |
Object |
objectToUndo, |
|
|
string |
name |
|
) |
| |
Record object.
- Parameters
-
| objectToUndo | Object |
| name | Name |
◆ RecordObjects()
| void RecordObjects |
( |
Object [] |
objs, |
|
|
string |
name |
|
) |
| |
Records object.
- Parameters
-
◆ RegisterCompleteObjectUndo()
| void RegisterCompleteObjectUndo |
( |
Object |
objectToUndo, |
|
|
string |
name |
|
) |
| |
Register Object in Undo.
- Parameters
-
| objectToUndo | Object |
| name | Name |
◆ SetDirty()
| void SetDirty |
( |
Object |
obj | ) |
|
Marks an Object as dirty.
- Parameters
-