feat & fix(): 实现基本新手关卡,修复一些预制体相关的BUG
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user