static void Prefix(Player __instance)
 {
     BeforeDestroy?.Invoke(__instance);
 }
Exemple #2
0
 private void OnBeforeDestroy()
 {
     BeforeDestroy?.Invoke();
 }