#How Do I pass data from main scene to sub scene when loading in subscene via script.

1 messages · Page 1 of 1 (latest)

lean token
#

I have a setup in which I want to be able to press on a bit with a number value. When ever I press on that button the subscene get's loaded in with the data of that number value. (currently I use it spawn that amount of balls.)

tame delta
#

What do you mean by loaded in with the data? Like, you assign the data to a specific component on an entity in that subscene?