You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
556 B
C#
29 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;
|
|
}
|
|
}
|
|
}
|