public void CreateRing() { GameObject newRingObj = Instantiate( _RingPrefab, _RingParent) as GameObject; MiroRing ring = newRingObj.GetComponent <MiroRing> (); ring.ClearRingObjTfs(); foreach (GameObject gb in _MiroObjs) { ring.AddObjAsRingObj(gb); } ring.InitRing(); }
public void SetRing(MiroRing ring) { _ParentRing = ring; }