LargeHeader.cs 466 B

123456789101112131415161718192021222324
  1. using UnityEngine;
  2. using System.Collections;
  3. namespace RootMotion {
  4. /// <summary>
  5. /// Large header attribute for Editor.
  6. /// </summary>
  7. public class LargeHeader : PropertyAttribute {
  8. public string name;
  9. public string color = "white";
  10. public LargeHeader (string name) {
  11. this.name = name;
  12. this.color = "white";
  13. }
  14. public LargeHeader (string name, string color) {
  15. this.name = name;
  16. this.color = color;
  17. }
  18. }
  19. }