- Home /
spawn an object in another scene after pressing button
I have a scene, called 'MainMenuScene' with my UI in it. If I press the start button, scene 2 loads in and the 'MainMenuScene' disappears.
Now, I want in scene 2, after pressing the start button in the 'MainMenuScene' , a cube, but the cube may only spawn in scene 2 if scene 2 is loaded.
Is this possible? If so how?
Thanks in advance.
Comment
Best Answer
Answer by Tu-Le · May 30, 2017 at 06:56 AM
there are many way to do this, you can create a script that spawn a cube at Start() function.
Your answer

Follow this Question
Related Questions
How to make a button work? 1 Answer
buttons not being able to be clicked? 1 Answer
Simple Restart not working 0 Answers
Button to next scene 2 Answers
UI Button deletes Function on start 1 Answer