示例#1
0
        public static void InvokePlayerInteract(GameObject player)
        {
            if (PlayerInteractEvent == null)
            {
                return;
            }

            PlayerInteractEvent ev = new PlayerInteractEvent()
            {
                Player = player.GetPlayer()
            };

            PlayerInteractEvent.Invoke(ev);
        }
示例#2
0
 private void PlayerInteract()
 {
     OnPlayerInteract.Invoke();
 }