override public void Scatter() { Lyu.ChildAnimCtrl animsCtrl = GetComponent <Lyu.ChildAnimCtrl> (); animsCtrl._AnimClipName = "Scatter"; animsCtrl.PlayAnimByName(); DetachFromMiroModels(); MiroV1TimeToDie timeDier = GetComponent <MiroV1TimeToDie> (); timeDier.enabled = true; }
override public void Shrink() { Lyu.ChildAnimCtrl animsCtrl = GetComponent <Lyu.ChildAnimCtrl> (); animsCtrl._AnimClipName = "Shrink"; animsCtrl.PlayAnimByName(); if (_bDieOnShrink) { MiroV1TimeToDie timeDie = GetComponent <MiroV1TimeToDie> (); timeDie.enabled = true; } }