This commit is contained in:
2021-06-13 10:28:03 +02:00
parent eb70603c85
commit df2d24cbd3
7487 changed files with 943244 additions and 0 deletions

View File

@@ -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;
}
}
}
}