PostProcessingModelEditorAttribute.cs 399 B

12345678910111213141516
  1. using System;
  2. namespace UnityEditor.PostProcessing
  3. {
  4. public class PostProcessingModelEditorAttribute : Attribute
  5. {
  6. public readonly Type type;
  7. public readonly bool alwaysEnabled;
  8. public PostProcessingModelEditorAttribute(Type type, bool alwaysEnabled = false)
  9. {
  10. this.type = type;
  11. this.alwaysEnabled = alwaysEnabled;
  12. }
  13. }
  14. }