- Home /
Question by
syma5 · Feb 10, 2020 at 07:19 PM ·
scripting beginner
Endless runner spawning infinite tiles
So I have a TileManager script who keeps track of player.z(forward position) and spawns infinite tiles in front of him and deletes the ones that he passes. That works fine on unity editor game preview however when i build for android and I try it on my phone, only the start amount of tiles spawns, there is no more tile spawns as I go forward. Posted the script pic below, not sure if I should have since it's kinda big. Any help is much appreciated
script.png
(31.7 kB)
Comment
Your answer
Follow this Question
Related Questions
Point Counter Works Only Once! 1 Answer
GetComponent won't work 1 Answer
Play animation of FPS player after hitting trigger 2 Answers
Cardboard VR app - add touch buttons to send keyboard arrows to scene 0 Answers
Reset animation to beginning 3 Answers