Specify a tooltip for a field.
@Tooltip ("Health value between 0 and 100.") var health : int = 0;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { [Tooltip("Health value between 0 and 100.")] public int health = 0; }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): [Tooltip('Health value between 0 and 100.')] public health as int = 0
tooltip | The tooltip text. |
TooltipAttribute | Specify a tooltip for a field. |
order | Optional field to specify the order that multiple DecorationDrawers should be drawn in. |