public sealed class ControlInput : UnitPort<ControlOutput, IUnitOutputPort, ControlConnection>, IUnitControlPort, IUnitInputPort, IUnitPort, IGraphItem
Constructors
Declaration
public ControlInput(string key, Func<Flow, IEnumerator> coroutineAction)
Parameters
Declaration
public ControlInput(string key, Func<Flow, ControlOutput> action)
Parameters
Declaration
public ControlInput(string key, Func<Flow, ControlOutput> action, Func<Flow, IEnumerator> coroutineAction)
Parameters
Properties
Declaration
public bool couldBeEntered { get; }
Property Value
Implements
Declaration
public override IEnumerable<IUnitOutputPort> invalidConnectedPorts { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.invalidConnectedPorts
Declaration
public override IEnumerable<InvalidConnection> invalidConnections { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.invalidConnections
Implements
Declaration
public bool isPredictable { get; }
Property Value
Implements
Declaration
public bool requiresCoroutine { get; }
Property Value
Declaration
public bool supportsCoroutine { get; }
Property Value
Declaration
public override IEnumerable<ControlOutput> validConnectedPorts { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.validConnectedPorts
Declaration
public override IEnumerable<ControlConnection> validConnections { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.validConnections
Methods
Declaration
public override bool CanConnectToValid(ControlOutput port)
Parameters
Returns
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.CanConnectToValid(Unity.VisualScripting.ControlOutput)
Declaration
public override IUnitPort CompatiblePort(IUnit unit)
Parameters
Type |
Name |
Description |
IUnit |
unit |
|
Returns
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.CompatiblePort(Unity.VisualScripting.IUnit)
Implements
Declaration
public override void ConnectToInvalid(IUnitOutputPort port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.ConnectToInvalid(Unity.VisualScripting.IUnitOutputPort)
Declaration
public override void ConnectToValid(ControlOutput port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.ConnectToValid(Unity.VisualScripting.ControlOutput)
Declaration
public override void DisconnectFromInvalid(IUnitOutputPort port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.DisconnectFromInvalid(Unity.VisualScripting.IUnitOutputPort)
Declaration
public override void DisconnectFromValid(ControlOutput port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ControlOutput, Unity.VisualScripting.IUnitOutputPort, Unity.VisualScripting.ControlConnection>.DisconnectFromValid(Unity.VisualScripting.ControlOutput)
Declaration
public bool IsPredictable(Recursion recursion)
Parameters
Returns
Extension Methods