Editor Text Box

Hello all!! Is there a way to make text appear in the editor for a Monobehavior or SO? I know I can do a string variable, tag it as editor only, and then type fill it in the editor or in the script but Id like it to appear in the editor as a variable name appears not as fillable box. Basically looking for a way to leave notes to myself on Monobehaviors and SO’s.

Thanks for any help

try this

[Tooltip("Add your text here")]
public float myVariable = 0.0f;