Today I discovered the [Tooltip("string")]
c# attribute for fields on MonoBehaviour
classes.
Here’s a quick example:
[Tooltip("Player prefab to create at the spawn point")]
[SerializeField] GameObject player;
Will produce:
Today I discovered the [Tooltip("string")]
c# attribute for fields on MonoBehaviour
classes.
Here’s a quick example:
[Tooltip("Player prefab to create at the spawn point")]
[SerializeField] GameObject player;
Will produce: