예제 #1
0
 /// <summary>
 /// 管理リストへの追加
 /// </summary>
 public static void Add(ITimePause item)
 {
     if (!targetList.Exists(x => x.target == item))
     {
         targetList.Add(new TimePauseData {
             target = item
         });
     }
 }
예제 #2
0
 /// <summary>
 /// 管理リストからの除去
 /// </summary>
 public static void Remove(ITimePause item)
 {
     targetList.RemoveAll(x => x.target == item);
 }