Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Feature Request Use XML Comment as Tooltip

Discussion in 'Editor & General Support' started by SevenChars, Nov 15, 2020.

  1. SevenChars

    SevenChars

    Joined:
    Jun 13, 2017
    Posts:
    50
    Use XML Comment as Tooltip, then I don't need to write same words twice.

    Code (CSharp):
    1.  
    2. /// <summary>
    3. /// A long XML Comment.
    4. /// </summary>
    5. [Tooltip("Same with XML comment, but I have to write it again!")]
    6. [SerializeField]
    7. protected float someField = 100;
    8.  
     
unityunity