コード例 #1
0
 void OnEntityKill(WaterCatcher wCatcher)
 {
     if (wCatcherList.Contains(wCatcher))
     {
         wCatcherList.Remove(wCatcher);
     }
 }
コード例 #2
0
 void OnEntitySpawned(WaterCatcher wCatcher)
 {
     if (!wCatcherList.Contains(wCatcher))
     {
         wCatcherList.Add(wCatcher);
     }
 }