i want make a theme shop. like this :
when i click one by one i want change ball theme… i can attach textures but those must have button script. Cause i want make buy button for those.
i want make a theme shop. like this :
when i click one by one i want change ball theme… i can attach textures but those must have button script. Cause i want make buy button for those.
put a script on your ball. Make a texture array. drag all the textures in.
Have a function that changes the texture in your script that takes in an integer.
Make each button launch that function and pass the variable in with the function starting at 0.