feat & fix(): 实现基本新手关卡,修复一些预制体相关的BUG

This commit is contained in:
2025-10-27 16:55:11 +08:00
parent 0b323b8f7a
commit 1462f4689e
10 changed files with 11093 additions and 8422 deletions

View File

@@ -23,7 +23,7 @@ namespace Script.Gameplay.Facility
public override void OnSignalReceived(bool active, GameObject sender)
{
base.OnSignalReceived(active, sender);
PullLever();
//PullLever();
}
private void PullLever()

View File

@@ -23,7 +23,7 @@ namespace Script.Gameplay.Player
currentTarget = value;
if (previousTarget != currentTarget)
{
if (currentTarget != null)
if (currentTarget != null && currentTarget.IsEnableInteract)
{
OnGazeEnter?.Invoke((currentTarget as MonoBehaviour)?.gameObject);
}