add bar to change values in the inspector unity code example Example: Unity C# add slider into editor [Range(min,max)]