1
0
forked from cgvr/DeltaVR

professor waits a few sec before starting to leave

This commit is contained in:
2026-03-07 14:17:31 +02:00
parent 68fe5357d2
commit 69ff74911c
2 changed files with 5 additions and 3 deletions

View File

@@ -150,11 +150,13 @@ public class ShapeDetectionNPC : NPCController
}); });
} }
public void OnPlayerEnteredRoom() public async void OnPlayerEnteredRoom()
{ {
if (state == 6) if (state == 6)
{ {
state = 7;
questMarker.gameObject.SetActive(false); questMarker.gameObject.SetActive(false);
await Task.Delay(2500);
MoveToNextPoint(0); MoveToNextPoint(0);
} }
} }