I’m cloning pokemon for game development practise and im trying to make it so when your pokemon is health <= 0 then teleport to pokemon center but my transform.position isn’t working. The character doesn’t move at all, these scripts are placed on the player being a sprite with camera and a gameobject as a child.
RAW FILES:
http://pastebin.com/8ZVsNBZn
http://pastebin.com/kXLvcW5J