Exemple #1
0
 //升级
 public void DoLevelUp(float durtion, bool isRightNow = false)
 {
     if (isRightNow)
     {
         LevelUp();
     }
     else
     {
         OnLevelUpBegin(bAttr.level, durtion);
         Selectable.DelayAction(LevelUp, durtion);
     }
 }