Some [Tooltip] are misplaced and some [Tooltip] don't work at all.
Actual
"My Int" tooltip is...
(Case 1420597) Tooltip problems
Code (CSharp):
- public class NewBehaviourScript : MonoBehaviour
- {
- [Tooltip("This is an integer")] // tooltip is misplaced
- [SerializeField] int m_MyInt = 123;
- [Space]
- [Tooltip("Hello World")] // tooltip doesn't appear at all
- [System.Serializable]
- class VoidEvent : UnityEngine.Events.UnityEvent { }
- }
"My Int" tooltip is...
(Case 1420597) Tooltip problems