There is going to be countless examples of this. If you do, you're half way there.ĭo you know how to resize a UI element? If not, look up how to do so. This problem space covers both UI and save game/configuration worlds.ĭo you know how to use either of Unity's UI systems? If not, learn how to set up a slider and how to have it update a value. There are multiple parts to solving this problem that you won't see encompassed in the one script. I need to resize a UI element/game object to match this value.I need this value accessible across multiple parts of the project.I need a UI slider that updates a value.It's not, 'I need to resize a texture to match a slider', it's: Problems are solved in more abstract steps. I understand your problem but I think you're too focused on 'I need an exact script of how to do this one, specific thing'.