GenerationMode.cs 268 B

123456789101112
  1. namespace UnityEditor.ShaderGraph
  2. {
  3. enum GenerationMode
  4. {
  5. Preview,
  6. ForReals
  7. }
  8. static class GenerationModeExtensions
  9. {
  10. public static bool IsPreview(this GenerationMode mode) { return mode == GenerationMode.Preview; }
  11. }
  12. }