C# Class Nodify.Runtime.Node

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: anneomcl/LetsMake Class Usage Examples

Public Methods

Method Description
EditorUpdate ( ) : void
Execute ( ) : void
Fire ( string methodName ) : void

Fires the exposed method by name.

FireExposed ( Expose exposed ) : void
GetExposed ( ) : List

Returns a List of all exposables owned by this node.

GetExposedByName ( string name ) : Expose

Finds an exposed element by name.

OnCustomInspectorGUI ( ) : void

Allos the user to hook into custom rendering for the inspector.

OnEditorNodeCreated ( ) : void

A hook that is called after the editor creates the node. This is useful for adding additional interaction to your custom nodes.

OnFieldValueUpdated ( FieldInfo field ) : void

An overideable method for hooking into when a field has been updated.

OnImportConnectedVariableAnchors ( ) : void

Called before the node is executed, it forces all connected "importing" anchors to send their values in.

SetFieldValue ( FieldInfo field, object value ) : void

Protected Methods

Method Description
OnEditorUpdate ( ) : void

Allows the user to hook into the editor update callback.

OnExecute ( ) : void
OnShowHideInHierarchy ( ) : void

Shows or Hides the node in the hierarchy based on the editor prefs setting.

Private Methods

Method Description
OnComplete ( ) : void

Method Details

EditorUpdate() public method

public EditorUpdate ( ) : void
return void

Execute() public method

public Execute ( ) : void
return void

Fire() public method

Fires the exposed method by name.
public Fire ( string methodName ) : void
methodName string
return void

FireExposed() public method

public FireExposed ( Expose exposed ) : void
exposed Expose
return void

GetExposed() public method

Returns a List of all exposables owned by this node.
public GetExposed ( ) : List
return List

GetExposedByName() public method

Finds an exposed element by name.
public GetExposedByName ( string name ) : Expose
name string
return Expose

OnCustomInspectorGUI() public method

Allos the user to hook into custom rendering for the inspector.
public OnCustomInspectorGUI ( ) : void
return void

OnEditorNodeCreated() public method

A hook that is called after the editor creates the node. This is useful for adding additional interaction to your custom nodes.
public OnEditorNodeCreated ( ) : void
return void

OnEditorUpdate() protected method

Allows the user to hook into the editor update callback.
protected OnEditorUpdate ( ) : void
return void

OnExecute() protected method

protected OnExecute ( ) : void
return void

OnFieldValueUpdated() public method

An overideable method for hooking into when a field has been updated.
public OnFieldValueUpdated ( FieldInfo field ) : void
field System.Reflection.FieldInfo
return void

OnImportConnectedVariableAnchors() public method

Called before the node is executed, it forces all connected "importing" anchors to send their values in.
public OnImportConnectedVariableAnchors ( ) : void
return void

OnShowHideInHierarchy() protected method

Shows or Hides the node in the hierarchy based on the editor prefs setting.
protected OnShowHideInHierarchy ( ) : void
return void

SetFieldValue() public method

public SetFieldValue ( FieldInfo field, object value ) : void
field System.Reflection.FieldInfo
value object
return void