C# Class Klak.Wiring.Patcher.ConnectionTools

Show file Open project: keijiro/Klak Class Usage Examples

Public Methods

Method Description
ConnectSlots ( UnityEditor.Graphs fromSlot, UnityEditor.Graphs toSlot ) : bool
DisconnectSlots ( UnityEditor.Graphs fromSlot, UnityEditor.Graphs toSlot ) : void
GetEventDataType ( Type eventType ) : Type

Private Methods

Method Description
GetEventOfOutputSlot ( UnityEditor.Graphs slot ) : UnityEventBase
GetMethodOfInputSlot ( UnityEditor.Graphs slot ) : MethodInfo
GetUnityActionToInvokeMethod ( MethodInfo method ) : Type

Method Details

ConnectSlots() public static method

public static ConnectSlots ( UnityEditor.Graphs fromSlot, UnityEditor.Graphs toSlot ) : bool
fromSlot UnityEditor.Graphs
toSlot UnityEditor.Graphs
return bool

DisconnectSlots() public static method

public static DisconnectSlots ( UnityEditor.Graphs fromSlot, UnityEditor.Graphs toSlot ) : void
fromSlot UnityEditor.Graphs
toSlot UnityEditor.Graphs
return void

GetEventDataType() public static method

public static GetEventDataType ( Type eventType ) : Type
eventType System.Type
return System.Type