Search Unity

Question XML Documentation

Discussion in 'Scripting' started by jettzeong, May 19, 2023.

  1. jettzeong

    jettzeong

    Joined:
    Nov 5, 2018
    Posts:
    65
    upload_2023-5-19_13-0-6.png
    upload_2023-5-19_13-0-21.png

    From my understanding, when we want the summary to be displayed while we hover over a class/method, we need to use XML Documentation. However, the code I have displayed above doesnt use the <summary> tag, yet still displays the summary when we hover over. Why is that so?
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,859
    Code that's been decompiled is not the same as the actual code inside the .dll and it's accompanying .xml. That's just how comments look like in Visual Studio's decompiler.
     
    SisusCo likes this.