Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Game starting but enemies no longer moving (animating) after i built a menu screen

Discussion in '2D' started by blindstrom, Mar 27, 2018.

  1. blindstrom

    blindstrom

    Joined:
    Feb 4, 2016
    Posts:
    1
    So my game was working and then i used the UI Canvas to invoke a start/quit menu. Since I've done this the game still starts, control player to move and shoot BUT the enemies are no longer starting. Can anyone help to resolve this? I've included screen shots of my code.
     

    Attached Files:

  2. EdKirby

    EdKirby

    Joined:
    Nov 15, 2013
    Posts:
    43
    How are you controlling the termites? Strictly through the animator? Also, I noticed that you set the timeScale to 1 in start of the PlayerFly but you set it again to 1 in the StartButton() method.