I'm hoping someone can help me with the issue I'm having creating my 2D game. I'm using Unity to create an Android application. I'm moving my character (a goat) across the screen using a grid system (GridMove - http://wiki.unity3d.com/index.php/GridMove).
I included the Global and Move script in the following links :
Global : http://codeshare.io/i6BDn
Move : http://codeshare.io/JHDAs
In the move Update function there is a StartCoroutine which moves the goat to a certain position (based on the grid size which is 0.5).
The transform.position gets set with a Vector3.Lerp and the Time.deltaTime. On my computer it works fine, but when I start opening programs or attach the debugger the goat seems to keep looping in the same position. This also happens on a low end phone or even an Samsung Galaxy s4.
Is there a way to stop the goat from resetting his transform.position or a way to check it? I can't seem to pinpoint where it goes wrong.
If you need more information, just let me know.