Inheritance: MonoBehaviour
 public ProceduralTile(ProceduralWorld world, int x, int z)
 {
     this.x     = x;
     this.z     = z;
     this.world = world;
     rnd        = new System.Random((x * 10007) ^ (z * 36007));
 }
Example #2
0
 public ProceduralTile(ProceduralWorld world, int x, int z)
 {
     this.x     = x;
     this.z     = z;
     this.world = world;
     this.rnd   = new Random(x * 10007 ^ z * 36007);
 }
		public ProceduralTile ( ProceduralWorld world, int x, int z ) {
			this.x = x;
			this.z = z;
			this.world = world;
			rnd = new System.Random ( (x * 10007) ^ (z*36007));
		}