Ejemplo n.º 1
0
    public static void SetSpawnLocation(string start, string end)
    {
        int startScene = SpawnLocations.ParseString(start).GetHashCode();
        int endScene   = SpawnLocations.ParseString(end).GetHashCode();

        playerTransform.position = SpawnLocations.ReturnSpawnVector(startScene, endScene);
    }
Ejemplo n.º 2
0
 public static void SetSpawnLocation(int start, int destination)
 {
     playerTransform.position = SpawnLocations.ReturnSpawnVector(start, destination);
 }