unity tooltip code example
Example 1: unity tooltip
using UnityEngine;
public class Example : MonoBehaviour
{
[Tooltip("Health value between 0 and 100.")]
int health = 0;
}
Example 2: unity variable tooltip
[Tooltip("Health value between 0 and 100.")]
int health = 100;