예제 #1
0
 private static void OnDestroy(GameObject sender)
 {
     if (AxeList.Any(o => o.Key.NetworkId == sender.NetworkId))
     {
         AxeList.Remove(sender);
     }
 }
예제 #2
0
 private static void OnDestroy(GameObject sender)
 {
     if (sender != null && sender.Name.Contains("Draven_") && sender.Name.Contains("_Q_reticle_self"))
     {
         if (AxeList.Any(o => o.Key.NetworkId == sender.NetworkId))
         {
             AxeList.Remove(sender);
         }
     }
 }
예제 #3
0
 private static void OnDestroy(GameObject sender)
 {
     try
     {
         if (AxeList.Any(o => o.Key.NetworkId == sender.NetworkId))
         {
             AxeList.Remove(sender);
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Error in MyEventManager.OnDestroy." + ex);
     }
 }