Example #1
0
 /// <summary>
 /// 单机模式杯子点击事件
 /// </summary>
 public void StandDoAtionCup(bool IsOn)
 {
     if (IsOn)
     {
         EventListener.AddEventListenr(gameObject).OnClick = StandCupFunction;
     }
     else
     {
         EventListener.RemoveEventListenr(gameObject);
     }
 }