using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class podToTerrain : Interactable
{
    public override void Interact()
    {
        if (SceneManager.GetActiveScene().name == "Terrain")
        {
            SceneManager.LoadScene("escapePod");
        }
        else if (SceneManager.GetActiveScene().name == "escapePod")
        {
            SceneManager.LoadScene("Terrain");
        }
    }
}
