BrushDescriptor.cs 841 B

123456789101112131415161718192021222324252627282930313233
  1. // /******************************************************************************
  2. // * File: BrushDescriptor.cs
  3. // * Copyright (c) 2023 Qualcomm Technologies, Inc. and/or its subsidiaries. All rights reserved.
  4. // *
  5. // *
  6. // ******************************************************************************/
  7. using UnityEngine;
  8. namespace QCHT.Samples.Drawing
  9. {
  10. [CreateAssetMenu(menuName = "QCHT/Demo/Drawing/BrushDescriptor")]
  11. public class BrushDescriptor : ScriptableObject
  12. {
  13. public enum ColorType
  14. {
  15. PlainColor,
  16. Gradient
  17. }
  18. public Material Material;
  19. public ParticleSystem LineParticles;
  20. [Space]
  21. public ColorType Type;
  22. public Color Color;
  23. public Gradient Gradient;
  24. [Space]
  25. public AudioClip StartDrawing;
  26. }
  27. }