Just Wondered if i Wanted to Have a Statement that Checked if It Was in (Insert Scene Name Here), Then a Particular Action Would be Carried Out. iHope Someone Understands What I’m Trying To Ask. Please Help?
No That’s to Load a Scene… I Want to Check If (Insert Scene Name Here) is the Current SCene, Then a Command will Be Carried Out. Basically I Want to Knw the If Statement to Check Level. e.g : if(ThisIsTheLevel)
wouldn’t you have a particular scene do a particular command?
For example. You have a menu with 3 buttons. Load scene1, Load scene2, Load scene3.
In scene1, you have an empty object which will run something once loaded.
In scene2, you will have an empty object which runs something else when loaded.
In scene3, you will have an empty object which runs yet another thing when loaded.