Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.8/Editor/Drawing/Interfaces/ISGControlledElement.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

23 lines
589 B
C#

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