I use
if(GameObject.Find(“Enemy Mech”) == 0)
{
Application.LoadLevel(3);
}
Which seems to work when I run the game in unity… But when I Build & Run, then use the .exe it created the function appears to not be working anymore.
I have tried reimporting everything, still nothing.
Uhm, dont know what else to say, like I said it all works in unity till i make it its own game. Please help!
When my bullet collides with the Mech Enemy it pushes them into a deleter wall that destroys any object that touches it. So when both mechs hit the wall it should == 0 and provide me with the Win Screen (Application.LoadLevel(3); but it just kills the two mechs and nothing happens.
– StimmerrHI Stimmerr, Couple of things: Have you tried loading the level using it's name rather than index? Have you added a print("Trying to load level"); just before the Application.LoadLevel(3); just to see if you are actually getting to that part of the code?
– code-blepTry this: if(GameObject.Find("Enemy Mech") == null)
– SaverionHow can move the gameobject to larger angle.
– abhishakverma