scale slider based on public array unity code example Example: Unity C# add slider into editor [Range(min,max)]