Exemplo n.º 1
0
	private void ExampleInCube()
	{
		DebugStreamer.AddMessage("MTRandom mrand = new MTRandom(seed)");
		DebugStreamer.AddMessage("mrand.PointInACube()");
		mrand = new MTRandom(user_seed);
		CleanUp();		
		MakeObjects();
		GameObject[] objs = GameObject.FindGameObjectsWithTag("Player");
		foreach (GameObject item in objs) 
		{
			item.transform.position = ScalePosition(mrand.PointInACube());
		}
	}