public void FirstWorldRender() { if (_MenuTheme != null) { SoundHandler.StopSound(_MenuTheme); _MenuTheme = null; } OnWorldEnter?.Invoke(); }
private void OnPointerEnter(InputType type, int index, PointerEventData eventData) { switch (type) { case InputType.Inventory: { OnInventoryEnter.Invoke(index); } break; case InputType.Target: { OnWorldEnter.Invoke(eventData.position); } break; } }