using System.Collections; using System.Collections.Generic; using UnityEngine; public class NextLevel : MonoBehaviour { public LevelManager scriptScene; public void LevelSelanjutnya(string key) { PlayerPrefs.SetInt(key, 1); scriptScene.LoadToScene("Pilih_Level"); } }