14 lines
281 B
C#
Raw Normal View History

2025-03-11 15:30:07 +08:00
namespace UnityEditor.ShaderGraph
{
enum GenerationMode
{
Preview,
ForReals,
VFX
}
static class GenerationModeExtensions
{
public static bool IsPreview(this GenerationMode mode) { return mode == GenerationMode.Preview; }
}
}