Skip to main content
10 events
when toggle format what by license comment
Jul 20, 2016 at 2:09 vote accept Muhammad Mahad
Jul 20, 2016 at 2:09 vote accept Muhammad Mahad
Jul 20, 2016 at 2:09
Jul 19, 2016 at 19:41 comment added klaymen @MuhammadMahad please edit your question and clarify the problem with complete code and if you have more than one question separate them. Comments are not place for answer. thanks.
Jul 19, 2016 at 19:33 comment added Muhammad Mahad Can you please elaborate?
Jul 19, 2016 at 19:11 comment added klaymen Actually you have asked multiple questions. Better separate and clarify them. For that problem you can have above conditions without space part, Or in the else block that you added yourself.
Jul 19, 2016 at 19:03 comment added Muhammad Mahad I am still having a problem.I want my player to permanently face a direction when i press an arrow key and remain there until i press any other arrow key.It just keeps returning to its default position before initialization right now.
Jul 19, 2016 at 18:51 comment added klaymen @MuhammadMahad if you found the answer correct, please check it as correct answer.
Jul 19, 2016 at 18:32 comment added Muhammad Mahad Oh nevermind.I fixed that with this: else { anim.SetBool("is_shooting_down", false); anim.SetBool("is_shooting_left", false); anim.SetBool("is_shooting_right", false); anim.SetBool("is_shooting_up", false); }
Jul 19, 2016 at 18:28 comment added Muhammad Mahad But now the shooting animation keeps looping.
Jul 19, 2016 at 8:10 history answered klaymen CC BY-SA 3.0