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.

ISGControlledElement.cs 603B

1234567891011121314151617181920212223
  1. using System;
  2. using UnityEditor.ShaderGraph;
  3. namespace UnityEditor.ShaderGraph.Drawing
  4. {
  5. interface ISGControlledElement
  6. {
  7. SGController controller
  8. {
  9. get;
  10. }
  11. void OnControllerChanged(ref SGControllerChangedEvent e);
  12. void OnControllerEvent(SGControllerEvent e);
  13. }
  14. interface ISGControlledElement<T> : ISGControlledElement where T : SGController
  15. {
  16. // This provides a way to access the controller of a ControlledElement at both the base class SGController level and child class level
  17. new T controller { get; }
  18. }
  19. }