Esempio n. 1
0
	private void ExampleOnRing()
	{
		DebugStreamer.AddMessage("MTRandom mrand = new MTRandom(seed)");
		DebugStreamer.AddMessage("mrand.PointOnRing(20.0f, 30.0f)");
		mrand = new MTRandom(user_seed);
		CleanUp();
		MakeObjects();
		GameObject[] objs = GameObject.FindGameObjectsWithTag("Player");
		foreach (GameObject item in objs) 
		{
			item.transform.position = ScalePosition(mrand.PointOnRing(20.0f, 30.0f));
		}
	}