Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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. }