public bool RoundStop()
 {
     if (round > 3)
     {
         start = false;
         if (Manager.IsAllFinished())
         {
             if (ManagerofNow)
             {
                 Destroy(this.gameObject.GetComponent <CCPhysisActionManager>());
             }
             else
             {
                 Destroy(this.gameObject.GetComponent <CCActionManager>());
             }
             DF.FreeDisk();
             return(true);
         }
         else
         {
             return(false);
         }
     }
     else
     {
         return(false);
     }
 }
 public bool RoundStop()
 {
     if (round > 10) // ten round or 120s
     {
         start = false;
         return(Manager.IsAllFinished());
     }
     else
     {
         return(false);
     }
 }
Example #3
0
 //到了第三回合要判断是否结束
 public bool RoundStop()
 {
     if (round > 3)
     {
         start = false;
         return(Manager.IsAllFinished());//是否还有飞碟留在used列表里
     }
     else
     {
         return(false);
     }
 }