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); }