Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SGPropertyDrawerAttribute.cs 355B

123456789101112131415
  1. using System;
  2. namespace UnityEditor.ShaderGraph.Drawing
  3. {
  4. [AttributeUsage(AttributeTargets.Class)]
  5. public class SGPropertyDrawerAttribute : Attribute
  6. {
  7. public Type propertyType { get; private set; }
  8. public SGPropertyDrawerAttribute(Type propertyType)
  9. {
  10. this.propertyType = propertyType;
  11. }
  12. }
  13. }