add world map and fast travel

This commit is contained in:
2026-07-08 21:06:57 -05:00
parent b8d5a52148
commit 778653994d
10 changed files with 33576 additions and 940 deletions
+17
View File
@@ -0,0 +1,17 @@
using UnityEngine;
public class FastTravelIcon : MonoBehaviour
{
public Transform TravelLocation;
TeleportHandler TeleportHandler;
private void Start()
{
TeleportHandler = GameObject.FindWithTag("Player").GetComponent<TeleportHandler>();
}
public void GoToLocation()
{
TeleportHandler.FastTravel(TravelLocation, true);
}
}