예제 #1
0
 private void OnRecyclerToggle(Recycler recycler, BasePlayer player)
 {
     if (recycler.IsOn())
     {
         return;
     }
     recycler.CancelInvoke("RecycleThink");
     timer.Once(0.1f, () => { recycler.Invoke("RecycleThink", recycleTime); });
 }