25 lines
548 B
C#
25 lines
548 B
C#
|
|
using Com.LuisPedroFonseca.ProCamera2D;
|
|||
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
// Mapping of SceneManager.buildIndex to canonical map names.
|
|||
|
|
public enum MapID {
|
|||
|
|
Town,
|
|||
|
|
Valley1
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class Location {
|
|||
|
|
public MapID mapID;
|
|||
|
|
public int portalIndex;
|
|||
|
|
|
|||
|
|
public Location(MapID mapID, int portalIndex) {
|
|||
|
|
this.mapID = mapID;
|
|||
|
|
this.portalIndex = portalIndex;
|
|||
|
|
}
|
|||
|
|
// public Scene
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class LocationHistory {
|
|||
|
|
public Stack<Location> history = new Stack<Location>();
|
|||
|
|
}
|