C# Class NodeInspector.Editor.GraphData

Show file Open project: nicloay/Node-Inspector Class Usage Examples

Public Properties

Property Type Description
ItemList IList
ParentObject UnityEngine.ScriptableObject
PropertyName String
SerializedItemList UnityEditor.SerializedProperty
StartNode UnityEditor.SerializedProperty

Public Methods

Method Description
AddNewAsset ( Type nodeType ) : void
CanCreateGraphData ( ScriptableObject parentObject, FieldInfo fieldInfo, GraphData &graphData ) : bool
RemoveElementFromList ( ScriptableObject listItem ) : void
SetDefaultStartNodeIfNothingSelected ( ) : void

Private Methods

Method Description
GraphData ( ) : System

Method Details

AddNewAsset() public method

public AddNewAsset ( Type nodeType ) : void
nodeType System.Type
return void

CanCreateGraphData() public static method

public static CanCreateGraphData ( ScriptableObject parentObject, FieldInfo fieldInfo, GraphData &graphData ) : bool
parentObject UnityEngine.ScriptableObject
fieldInfo System.Reflection.FieldInfo
graphData GraphData
return bool

RemoveElementFromList() public method

public RemoveElementFromList ( ScriptableObject listItem ) : void
listItem UnityEngine.ScriptableObject
return void

SetDefaultStartNodeIfNothingSelected() public method

public SetDefaultStartNodeIfNothingSelected ( ) : void
return void

Property Details

ItemList public property

public IList ItemList
return IList

ParentObject public property

public ScriptableObject,UnityEngine ParentObject
return UnityEngine.ScriptableObject

PropertyName public property

public String PropertyName
return String

SerializedItemList public property

public SerializedProperty,UnityEditor SerializedItemList
return UnityEditor.SerializedProperty

StartNode public property

public SerializedProperty,UnityEditor StartNode
return UnityEditor.SerializedProperty