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.
22 lines
589 B
22 lines
589 B
using UnityEditor.ShaderGraph; |
|
|
|
namespace UnityEditor.ShaderGraph.Drawing |
|
{ |
|
interface ISGControlledElement |
|
{ |
|
SGController controller |
|
{ |
|
get; |
|
} |
|
|
|
void OnControllerChanged(ref SGControllerChangedEvent e); |
|
|
|
void OnControllerEvent(SGControllerEvent e); |
|
} |
|
|
|
interface ISGControlledElement<T> : ISGControlledElement where T : SGController |
|
{ |
|
// This provides a way to access the controller of a ControlledElement at both the base class SGController level and child class level |
|
new T controller { get; } |
|
} |
|
}
|
|
|