No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IUnitPort.cs 881B

1234567891011121314151617181920212223242526
  1. using System.Collections.Generic;
  2. namespace Unity.VisualScripting
  3. {
  4. public interface IUnitPort : IGraphItem
  5. {
  6. IUnit unit { get; set; }
  7. string key { get; }
  8. IEnumerable<IUnitRelation> relations { get; }
  9. IEnumerable<IUnitConnection> validConnections { get; }
  10. IEnumerable<InvalidConnection> invalidConnections { get; }
  11. IEnumerable<IUnitConnection> connections { get; }
  12. IEnumerable<IUnitPort> connectedPorts { get; }
  13. bool hasAnyConnection { get; }
  14. bool hasValidConnection { get; }
  15. bool hasInvalidConnection { get; }
  16. bool CanInvalidlyConnectTo(IUnitPort port);
  17. bool CanValidlyConnectTo(IUnitPort port);
  18. void InvalidlyConnectTo(IUnitPort port);
  19. void ValidlyConnectTo(IUnitPort port);
  20. void Disconnect();
  21. IUnitPort CompatiblePort(IUnit unit);
  22. }
  23. }