a5.0.0f4ţ˙˙˙s˙8-l'€Łć„hŒÎA,Œ€7€˙˙˙˙€Ś€˛€Ő€ ހ.€†€Ä€ ހ.€H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ H€ę€˙˙˙˙ €1€1€˙˙˙˙ @ހ€Q€j€ń€(˙˙˙˙€1€1€˙˙˙˙€ހ€€j€˙˙˙˙€H€›€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ.€y€< ހ.€ހCH€T˙˙˙˙€1€1€˙˙˙˙ @ހ€!Q€j€"H€`˙˙˙˙#€1€1€˙˙˙˙$@ހ€%Q€j€&H€l˙˙˙˙'€1€1€˙˙˙˙(@ހ€)Q€j€*L€{+PPtrm_FileIDm_PathIDm_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacem_AssemblyNamem_IsEditorScriptČ0ĹňĂôL.`?^Ů0D7€˙˙˙˙€Ś€˛€Ѐڀڀڀ#Ś€+H€3˙˙˙˙€1€1€˙˙˙˙@ހ€ Q€j€ ™€< Ś€H H€Z˙˙˙˙ €1€1€˙˙˙˙@ހ€Q€j€Ѐgڀڀڀ#Ś€+v~ € €– €Ÿ €¨ €ą €ş €Ă €Ě €Ő €Ţ  €ç! €ń" €ű# €$ €% €&Ő€#˙˙˙˙'€1€1€˙˙˙˙(€ހ€)H€j€˙˙˙˙*€1€1€˙˙˙˙+@ހ€,Q€j€-™€*.ހ8/AssetMetaDataguiddata[0]data[1]data[2]data[3]pathNametimeCreatedoriginalChangesetoriginalNameoriginalParentHash128originalDigestbytes[0]bytes[1]bytes[2]bytes[3]bytes[4]bytes[5]bytes[6]bytes[7]bytes[8]bytes[9]bytes[10]bytes[11]bytes[12]bytes[13]bytes[14]bytes[15]labelsassetStoreReflicenseType z{ď@îČă5^(H'7€˙˙˙˙€Ś€˛€ Ő€ ހ#.€,†€Ä€ ހ#.€,H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ Ő€5˙˙˙˙ €1€1€˙˙˙˙ €ހ€€j€˙˙˙˙€H€›€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ#.€, €I@ž€X @ހ#.€,H€]˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€H€h˙˙˙˙€1€1€˙˙˙˙ @ހ€!Q€j€"H€z˙˙˙˙#€1€1€˙˙˙˙$@ހ€%Q€j€&MonoImporterPPtrm_FileIDm_PathIDm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariantœ˙˙ @  ˙˙ŕyŻŕ9 ss˙˙ذ(‰źŚ"DžriŚÁ xCAssets/LeapMotion+OVR/DemoResources/Scripts/BlocksPlaneGenerator.csBlocksPlaneGenerator¸ using UnityEngine; using System.Collections; using System.Linq; public class BlocksPlaneGenerator : MonoBehaviour { public float minRadius; public float maxRadius; public int numberOfBlocks; public float size; private Color[] list_of_colors = { //new Color(1.00f, 1.00f, 0.94f), // (255,255,240) Ivory //new Color(0.96f, 0.96f, 0.86f), // (245,245,220) Beige //new Color(0.96f, 0.87f, 0.70f), // (245,222,179) Wheat //new Color(0.82f, 0.71f, 0.55f), // (210,180,140) Tan //new Color(0.76f, 0.69f, 0.57f), // (195,176,145) Khaki //new Color(0.75f, 0.75f, 0.75f), // (192,192,192) Silver //new Color(0.50f, 0.50f, 0.50f), // (128,128,128) Gray //new Color(0.27f, 0.27f, 0.27f), // (070,070,070) Charcoal new Color(0.00f, 0.00f, 1.00f), // (000,000,255) Navy Blue new Color(0.02f, 0.30f, 0.62f), // (008,076,158) Royal Blue new Color(0.00f, 0.00f, 0.80f), // (000,000,205) Medium Blue new Color(0.00f, 0.50f, 1.00f), // (000,127,255) Azure new Color(0.00f, 1.00f, 1.00f), // (000,255,255) Cyan new Color(0.50f, 1.00f, 0.83f), // (127,255,212) Aquamarine new Color(0.00f, 0.50f, 0.50f), // (000,127,127) Teal new Color(0.13f, 0.55f, 0.13f), // (034,139,034) Forest Green new Color(0.50f, 0.50f, 0.00f), // (127,127,000) Olive new Color(0.50f, 1.00f, 0.00f), // (127,255,000) Chartreuse new Color(0.75f, 1.00f, 0.00f), // (192,255,000) Lime new Color(1.00f, 0.84f, 0.00f), // (255,215,000) Golden new Color(0.85f, 0.65f, 0.13f), // (218,165,032) Goldenrod new Color(1.00f, 0.50f, 0.31f), // (255,127,080) Coral new Color(0.98f, 0.50f, 0.45f), // (250,128,114) Salmon new Color(0.99f, 0.06f, 0.75f), // (252,015,192) Hot Pink new Color(1.00f, 0.47f, 1.00f), // (255,119,255) Fuchsia new Color(0.80f, 0.53f, 0.60f), // (204,136,153) Puce new Color(0.88f, 0.69f, 1.00f), // (224,176,225) Mauve new Color(0.71f, 0.49f, 0.86f), // (181,126,220) Lavender new Color(0.52f, 0.19f, 0.47f), // (132,049,121) Plum new Color(0.29f, 0.00f, 0.51f), // (075,000,130) Indigo new Color(0.50f, 0.00f, 0.00f), // (127,000,000) Maroon new Color(0.86f, 0.08f, 0.24f) // (220,020,060) Crimson }; private void Reset() { if (maxRadius < minRadius) return; for (int i = 0; i < numberOfBlocks; ++i) { float radius = Random.Range(minRadius, maxRadius); float theta = Random.Range(0.0f, 2 * Mathf.PI); Vector3 position = new Vector3( radius * Mathf.Sin(theta), size * 3.0f, radius * Mathf.Cos(theta) ); GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); cube.transform.parent = transform; cube.transform.rotation = Quaternion.Euler(Random.Range(0.0f, 360.0f), Random.Range(0.0f, 360.0f), Random.Range(0.0f, 360.0f)); cube.transform.localScale = Vector3.one * Random.Range(0.1f, size); cube.transform.localPosition = position; cube.AddComponent(); cube.GetComponent().material.color = list_of_colors[Random.Range(0, list_of_colors.Length - 1)]; } } // Use this for initialization void Start() { Reset(); } // Update is called once per frame void Update() { } } BlocksPlaneGeneratorAssembly-CSharp.dll