penis/Library/PackageCache/com.unity.shadergraph@bd938c0c5e52/Editor/Data/Interfaces/IMaySupportVFX.cs
Vladislav 2750530006 1
2025-09-18 15:33:57 +03: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();
}
}