add sliders in inspector unity code example Example: Unity C# add slider into editor [Range(min,max)]