コード例 #1
0
        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();
        }
コード例 #2
0
 public void SetRing(MiroRing ring)
 {
     _ParentRing = ring;
 }