feat():完成3种模式的基本运行框架

This commit is contained in:
2025-10-18 08:55:38 +08:00
parent 3d03c59dc3
commit 345930843d
39 changed files with 909 additions and 427 deletions

View File

@@ -21,7 +21,13 @@ namespace Gameplay.Player
playerCamera = GameObject.FindWithTag("MainCamera").GetComponent<Camera>();
var input = InputManager.Instance.Input;
input.Player.SwitchWatchMode.performed += ctx => currentTarget.Interact(this.gameObject);;
input.Player.Interact.performed += ctx =>
{
if (currentTarget != null)
{
currentTarget.Interact(this.gameObject);
}
};
}
void Update()