Ejemplo n.º 1
0
 /// <summary>並べ替え終了コールバックの除去</summary>
 /// <param name="onEndOrderAction">nullなら全て</param>
 public void RemoveOnEndOrderListener(UnityAction <int> onEndOrderAction)
 {
     if (onEndOrderAction != null)
     {
         if (onEndOrder != null)
         {
             onEndOrder.RemoveListener(onEndOrderAction);
         }
         else
         {
             onEndOrder.RemoveAllListeners();
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>項目選択コールバックの除去</summary>
 /// <param name="onSelectAction">nullなら全て</param>
 public void RemoveOnSelectListener(UnityAction <int> onSelectAction)
 {
     if (onSelectAction != null)
     {
         if (onSelect != null)
         {
             onSelect.RemoveListener(onSelectAction);
         }
         else
         {
             onSelect.RemoveAllListeners();
         }
     }
 }