using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PahlawanEnergi { [System.Serializable] public class LevelProgress { public int level; public bool isUnlocked; public int score; public void Unlock() { isUnlocked = true; } public void SetScore(int value) { if (score >= value) return; score = value; } } }