Dump VO done

This commit is contained in:
journaliciouz
2025-12-19 01:01:28 +01:00
parent 934c67a106
commit a83834369e
12 changed files with 676 additions and 112 deletions

View File

@@ -7,6 +7,7 @@ using Minigames.TrashMaze.Core;
using Minigames.TrashMaze.Data;
using Unity.Cinemachine;
using UnityEngine;
using UnityEngine.Events;
namespace Items
{
@@ -68,6 +69,8 @@ namespace Items
[Tooltip("Visual representation to hide after use (optional)")]
[SerializeField] private GameObject visualRepresentation;
public UnityEvent OnCharacterSwitch;
// State
private bool _hasBeenUsed;
private PlayerTouchController _currentPlayerController;
@@ -172,6 +175,7 @@ namespace Items
if (switchSuccess)
{
Logging.Debug($"[ControllerSwitchItem] Successfully switched input to controller: {targetControllerName}");
OnCharacterSwitch.Invoke();
}
else
{