Files

17 lines
399 B
C#

using UnityEngine;
// Gives a location to be teleported to and displayed on a map. This will be used by
// the game manager to allow for fast travel
[System.Serializable]
public class MapPoint
{
public string Scene;
public Vector3 SpawnPosition;
public MapPoint(string scene, Vector3 spawnPosition)
{
this.Scene = scene;
this.SpawnPosition = spawnPosition;
}
}