How to move 2D Object with WASD in Unity

You don’t need those if statements. Just use += to append the input to the current transform position. Move without Rigidbody: Move Object with Rigidbody2D: I suggest using the second code and moving the Rigidbody if you want to be able to detect collison later on. Note: You must assign the object to move to the obj slot in the Editor. If using … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)