holopy3/Assets/Plugins/RootMotion/Shared Scripts/InspectorComment.cs
2020-12-10 15:25:12 +01:00

28 lines
556 B
C#

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;
}
}
}