I want to make a gauge prefab that I can change the values of, and have those changes show outside of play mode. So, for instance, I can enter in numbers in the inspector to decide which ranges of the gauge are different colors, and it will rearrange the colors on my screen, in a way that still works when not in play mode, so I don’t have to manually rearrange them all myself. Is this possible?
Putting configurable values into a ScriptableObject, making an instance of it (an asset on disk), then dragging that into whatever needs it is always going to be the simplest approach.
That way changing values in the on-disk asset doesn’t care if you’re playing or stopped, assuming the place it is used actively takes and uses those values.
1 Like