private void setIndicationObjects(GameObject[] obj) { int i; if (rings != null) { for (i = 0; i < rings.Length; i++) { Destroy(rings[i]); } } if (box != null) { for (i = 0; i < box.Length; i++) { Destroy(box[i]); } } if (feedbackHolograms != null) { for (i = 0; i < feedbackHolograms.Length; i++) { Destroy(feedbackHolograms[i]); } } rings = markerRing.GetFromObjects(obj); box = contBox.GetFromObjects(obj, new bool[] { true }); feedbackHolograms = feed.GetFromObjects(obj); }
private void setIndicationObjects(GameObject[] obj) { rings = markerRing.GetFromObjects(obj); box = contBox.GetFromObjects(obj, new bool[] { true }); feedbackHolograms = feed.GetFromObjects(obj); }
private void setIndicationObjects(GameObject[] obj, bool[] in_box) { if (!contBox.BoxFromFileExists()) { contBox.InitializeBoxFromFile(); } box = contBox.GetFromObjects(obj, in_box, currentSequence); contBox.getCurrentMinMax(out minX, out maxX, out minY, out maxY, out minZ, out maxZ); }