testss
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace Unity.VisualScripting
|
||||
{
|
||||
[Descriptor(typeof(WaitForFlow))]
|
||||
public class WaitForFlowDescriptor : UnitDescriptor<WaitForFlow>
|
||||
{
|
||||
public WaitForFlowDescriptor(WaitForFlow unit) : base(unit) { }
|
||||
|
||||
protected override void DefinedPort(IUnitPort port, UnitPortDescription description)
|
||||
{
|
||||
base.DefinedPort(port, description);
|
||||
|
||||
if (port is ControlInput && unit.awaitedInputs.Contains((ControlInput)port))
|
||||
{
|
||||
description.showLabel = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user