Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Drawing/Interfaces/ISGControlledElement.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -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; }
}
}