Style

  06. Attributes No Comments

Attribute that specifies that targeted string type class member should be drawn in the inspector using the specified GUIStyle.

Attribute Target

Field or property.

Example

using UnityEngine;
using Sisus;
using Sisus.Attributes;

public class StickyNote : MonoBehaviour
{
	[Style("VCS_StickyNote"), TextArea]
	public string note = "(Add note here)";
}

Example Result