FormerNameAttribute.cs 338 B

123456789101112131415
  1. using System;
  2. namespace UnityEditor.ShaderGraph
  3. {
  4. [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
  5. class FormerNameAttribute : Attribute
  6. {
  7. public string fullName { get; private set; }
  8. public FormerNameAttribute(string fullName)
  9. {
  10. this.fullName = fullName;
  11. }
  12. }
  13. }