Files
LowPolyBattleSim/Library/PackageCache/com.unity.shadergraph@608f316e1f48/Editor/Data/Interfaces/IMaySupportVFX.cs

14 lines
453 B
C#
Raw Normal View History

2025-06-27 23:27:49 +01:00
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();
}
}