示例#1
0
 static void SaveAllSubscribedObjects(bool saveFile = false)
 {
     for (int i = 0; i < statefulItemList.Count; i++)
     {
         StatefulItem item = (StatefulItem)statefulItemList[i];
         if (item)
         {
             item.SaveState(saveFile);
         }
     }
 }
示例#2
0
 public static void AddStatefulItem(StatefulItem item)
 {
     statefulItemList.Add(item);
 }