1
0
forked from cgvr/DeltaVR

NPCs move quest marker around to next objectives

This commit is contained in:
2026-02-12 15:54:01 +02:00
parent 3d804dfdaf
commit cf709f4dc9
5 changed files with 29 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ public class ArcheryRange : NetworkBehaviour
public Transform targetEndPosition;
public GameObject targetPrefab;
public StartTarget startTarget;
public QuestMarker questMarker;
public GameObject archeryTargetPointsText;
@@ -210,6 +211,8 @@ public class ArcheryRange : NetworkBehaviour
_roundEndTime = Time.time + roundLength;
_nextTargetTime = Time.time;
_roundActive = true;
questMarker.gameObject.SetActive(false);
}
public void AddScore(float distance)