public static void InvokePlayerInteract(GameObject player) { if (PlayerInteractEvent == null) { return; } PlayerInteractEvent ev = new PlayerInteractEvent() { Player = player.GetPlayer() }; PlayerInteractEvent.Invoke(ev); }
private void PlayerInteract() { OnPlayerInteract.Invoke(); }