コード例 #1
0
        override public void Scatter()
        {
            Lyu.ChildAnimCtrl animsCtrl = GetComponent <Lyu.ChildAnimCtrl> ();
            animsCtrl._AnimClipName = "Scatter";
            animsCtrl.PlayAnimByName();

            DetachFromMiroModels();
            MiroV1TimeToDie timeDier = GetComponent <MiroV1TimeToDie> ();

            timeDier.enabled = true;
        }
コード例 #2
0
        override public void Shrink()
        {
            Lyu.ChildAnimCtrl animsCtrl = GetComponent <Lyu.ChildAnimCtrl> ();
            animsCtrl._AnimClipName = "Shrink";
            animsCtrl.PlayAnimByName();

            if (_bDieOnShrink)
            {
                MiroV1TimeToDie timeDie = GetComponent <MiroV1TimeToDie> ();
                timeDie.enabled = true;
            }
        }