public void EnterBAttle(GameObject obj) { returnLevel = SceneManager.GetActiveScene(); spawnCoords = transform.position; worldEnemy = obj.GetComponent <NpcWorldScript>(); pause = true; SceneManager.LoadScene("Battle", LoadSceneMode.Additive); Debug.Log("ENTERING BATTLE"); }
public void OpenShop(NpcWorldScript obj) { pauseScript.SetupShop(obj); }