示例#1
0
    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");
    }
示例#2
0
 public void OpenShop(NpcWorldScript obj)
 {
     pauseScript.SetupShop(obj);
 }