arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.shadergraph@940512a5d7e1/Editor/Drawing/Interfaces/ISGControlledElement.cs
Daniel 2e704cae70 init
Init Commit Unity
2025-09-25 22:01:28 +02:00

24 lines
603 B
C#

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