Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

problem create 3d infinite runner

$
0
0
View attachment 115860 View attachment 115860 hello all
i have problem creating 3d infinite runner
the problem is
the distance between 2 prefabs is not the same
what is the solution for that ?
and that is the code for spawning
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class SpawnRoad : MonoBehaviour {
  5.     public GameObject  []   obj  ;
  6.     public float spawnmin = 1f   ;
  7.     public float Spawnmax  = 2f  ;
  8.     private bool x  ;
  9.     // Use this for...
problem create 3d infinite runner

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>