Beispiel #1
0
 public void StartCollect(SustainRef _info)
 {
     if (onStartCollectEvent != null)
     {
         onStartCollectEvent(_info);
     }
 }
Beispiel #2
0
 protected void StartCollect(SustainRef _info)
 {
     isCollecting = true;
     if (animFSM != null && _info.action != string.Empty)
     {
         animFSM.Collect(_info.action, _info.time);
     }
     if (headTextCtrl != null && _info.time > 0)
     {
         headTextCtrl.SetProgress(_info.time / 1000, _info.text);
     }
     if (fxCtrl != null && !string.IsNullOrEmpty(_info.eff))
     {
         fxCtrl.DoNormalEffect(_info.eff);
     }
 }