-
Michael LaFreniere authored
Main scene with walking animation, doors to other scenes but bug when exited. (appear at random door)
Michael LaFreniere authoredMain scene with walking animation, doors to other scenes but bug when exited. (appear at random door)
ShopMenu.cs 311 B
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class ShopMenu : MonoBehaviour {
public string sceneName;
// Update is called once per frame
void Update () {
if (Input.GetKeyDown("f")) {
SceneManager.LoadScene(sceneName);
}
}
}