Example #1
0
	private void ExampleInSphere()
	{
		DebugStreamer.AddMessage("MTRandom mrand = new MTRandom(seed)");
		DebugStreamer.AddMessage("mrand.PointInASphere()");
		mrand = new MTRandom(user_seed);
		CleanUp();		
		MakeObjects();
		GameObject[] objs = GameObject.FindGameObjectsWithTag("Player");
		foreach (GameObject item in objs) 
		{
			item.transform.position = ScalePosition(mrand.PointInASphere());
		}
	}