holopy3/Assets/Plugins/RootMotion/Shared Scripts/InspectorComment.cs

29 lines
556 B
C#
Raw Normal View History

2020-12-10 14:25:12 +00:00
using UnityEngine;
using System.Collections;
namespace RootMotion
{
/// <summary>
/// Comment attribute for Editor.
/// </summary>
public class InspectorComment : PropertyAttribute
{
public string name;
public string color = "white";
public InspectorComment(string name)
{
this.name = name;
this.color = "white";
}
public InspectorComment(string name, string color)
{
this.name = name;
this.color = color;
}
}
}