Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

(Case 1420597) Tooltip problems

$
0
0
Some [Tooltip] are misplaced and some [Tooltip] don't work at all.
Code (CSharp):
  1. public class NewBehaviourScript : MonoBehaviour
  2. {
  3.     [Tooltip("This is an integer")] // tooltip is misplaced
  4.     [SerializeField] int m_MyInt = 123;
  5.  
  6.     [Space]
  7.     [Tooltip("Hello World")] // tooltip doesn't appear at all
  8.     [SerializeField] VoidEvent m_MyEvent = new VoidEvent();
  9.  
  10.     [System.Serializable]
  11.     class VoidEvent : UnityEngine.Events.UnityEvent { }
  12. }
Actual
"My Int" tooltip is...

(Case 1420597) Tooltip problems

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>