Arbor 3: FSM & BT Graph Editor  3.7.8
IComponentProcessor Interface Reference

Interface for Editor processing such as Undo. More...

Public Member Functions

Component AddComponent (GameObject gameObject, System.Type type)
 Add component. More...
 
void Destroy (Object objectToUndo)
 Destroy object. More...
 
void RecordObject (Object objectToUndo, string name)
 Record object. More...
 
void RecordObjects (Object[] objs, string name)
 Records object. More...
 
void RegisterCompleteObjectUndo (Object objectToUndo, string name)
 Register Object in Undo. More...
 
void SetDirty (Object obj)
 Marks an Object as dirty. More...
 
void MoveBehaviour (Node node, NodeBehaviour behaviour)
 Move behavior to node. More...
 
void MoveParameterContainer (NodeGraph nodeGraph)
 Move the parameter container in the graph. More...
 
void MoveVariable (Parameter parameter, VariableBase variable)
 Move variable to parameter. More...
 
void MoveVariableList (Parameter parameter, VariableListBase variableList)
 Move variable to parameter. More...
 
void DelayDestroy (Object obj)
 Delay Destroy. More...
 
void DelayCall (ComponentUtility.DelayCallBack delayCall)
 Delay call. More...
 

Detailed Description

Interface for Editor processing such as Undo.

Used with ComponentUtility.

Member Function Documentation

◆ AddComponent()

Component AddComponent ( GameObject  gameObject,
System.Type  type 
)

Add component.

Parameters
gameObjectGameObject
typeComponent type
Returns
Component

◆ DelayCall()

void DelayCall ( ComponentUtility.DelayCallBack  delayCall)

Delay call.

Parameters
delayCallMethod to call

◆ DelayDestroy()

void DelayDestroy ( Object  obj)

Delay Destroy.

Parameters
objObject

◆ Destroy()

void Destroy ( Object  objectToUndo)

Destroy object.

Parameters
objectToUndoObject

◆ MoveBehaviour()

void MoveBehaviour ( Node  node,
NodeBehaviour  behaviour 
)

Move behavior to node.

Parameters
nodeMoving destination node
behaviourMoving NodeBehaviour

◆ MoveParameterContainer()

void MoveParameterContainer ( NodeGraph  nodeGraph)

Move the parameter container in the graph.

Valid only in Editor.

Parameters
nodeGraphMoving graph

◆ MoveVariable()

void MoveVariable ( Parameter  parameter,
VariableBase  variable 
)

Move variable to parameter.

Valid only in Editor.

Parameters
parameterMoving destination Parameter
variableMoving VariableBase

◆ MoveVariableList()

void MoveVariableList ( Parameter  parameter,
VariableListBase  variableList 
)

Move variable to parameter.

Valid only in Editor.

Parameters
parameterMoving destination Parameter
variableListMoving VariableListBase

◆ RecordObject()

void RecordObject ( Object  objectToUndo,
string  name 
)

Record object.

Parameters
objectToUndoObject
nameName

◆ RecordObjects()

void RecordObjects ( Object[]  objs,
string  name 
)

Records object.

Parameters
objsObjects
nameName

◆ RegisterCompleteObjectUndo()

void RegisterCompleteObjectUndo ( Object  objectToUndo,
string  name 
)

Register Object in Undo.

Parameters
objectToUndoObject
nameName

◆ SetDirty()

void SetDirty ( Object  obj)

Marks an Object as dirty.

Parameters
objObject