File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -473,8 +473,13 @@ public float MyValue;
473473
474474 ```
475475 // Enable field to be configurable in the editor and available externally to other scripts (field is correctly serialized in Unity)
476- [SerializeField]
477- private float myValue; // <- Notice we co-located the backing field above our corrisponding property.
476+ [SerializeField]
477+ [ToolTip("If using a tooltip, the text should match the public property's summary documentation, if appropriate.")]
478+ private float myValue; // <- Notice we co-located the backing field above our corresponding property.
479+
480+ /// <summary>
481+ /// If using a tooltip, the text should match the public property's summary documentation, if appropriate.
482+ /// </summary>
478483 public float MyValue
479484 {
480485 get{ return myValue; }
You can’t perform that action at this time.
0 commit comments