Files
CartoonFPS/Library/PackageCache/com.unity.shadergraph@052d95cfe62a/Editor/Data/Interfaces/IMaySupportVFX.cs
SHOUTING_PIRATE 4c8592d0ab initial commit
2025-08-05 09:30:40 +01:00

14 lines
453 B
C#

namespace UnityEditor.ShaderGraph
{
public interface IMaySupportVFX
{
bool SupportsVFX();
bool CanSupportVFX();
}
static class MaySupportVFXExtensions
{
public static bool SupportsVFX(this Target target) => target is IMaySupportVFX vfxTarget && vfxTarget.SupportsVFX();
public static bool CanSupportVFX(this Target target) => target is IMaySupportVFX vfxTarget && vfxTarget.CanSupportVFX();
}
}