Skip to main content
ProgrammerProgrammerIOSAN's user avatar
ProgrammerProgrammerIOSAN's user avatar
ProgrammerProgrammerIOSAN's user avatar
ProgrammerProgrammerIOSAN
  • Member for 7 years, 11 months
  • Last seen more than 6 years ago
  • Belgium
accepted
accepted
comment
How Can I Fix Spawning The Tiles?
I am very sorry. It works just fine.
comment
comment
How Can I Fix Spawning The Tiles?
Yes:MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. When I click on the error it brings me to the line where I say Instantiate...terrain.transform.rotation
revised
How Can I Fix Spawning The Tiles?
added 1487 characters in body
Loading…
comment
How Can I Fix Spawning The Tiles?
Still doesn't work(am getting the same first tile gets deleted but second doesn't get deleted)
asked
Loading…
revised
How Can I Fix Where The Tile Spawns?
added 1394 characters in body
Loading…
comment
How Can I Fix Where The Tile Spawns?
Thanks fixed it but when the player is at the end of the first tile, it deletes that tile and spawns another(just like it should) but when the player is at the end of the second tile it doesn't spawn another tile and doesn't delete the second tile.
comment
How Can I Fix Where The Tile Spawns?
Ok but when I do this : objs.Add(terrain); then it instantly deletes terrain after launching the game. I think it's because of if (player.transform.position.z - safeZone >= (position.z - objs.Count * tileLength))
comment
How Can I Fix Where The Tile Spawns?
I get this error: ArgumentOutOfRangeException: Argument is out of range. Parameter name: index
comment
How Can I Fix Where The Tile Spawns?
There is still a gap between the tiles.
revised
How Can I Fix Where The Tile Spawns?
added 31 characters in body
Loading…
revised
How Can I Fix Where The Tile Spawns?
added 31 characters in body
Loading…
comment
How Can I Fix Where The Tile Spawns?
Can someone please help me
comment
How Can I Fix Where The Tile Spawns?
Added the position of the current tile and the correct position of the next tiles.
revised
How Can I Fix Where The Tile Spawns?
added 69 characters in body
Loading…
asked
Loading…
awarded