유니티 C# 업적 시스템 만들기 간단 구현


유니티 C# 업적 시스템 만들기 간단 구현

코드 작성 using System.Collections; using UnityEngine; using UnityEngine.UI; public class AchievementSystem : MonoBehaviour { [System.Serializable] public class Achievement { public string name; public string description; public bool isUnlocked; public bool showAlert; // 알람을 띄울지 여부 public void Unlock() { if (!isUnlocked) { isUnlocked = true; Debug.Log($"업적 달성: {name}"); if (showAlert) { ShowAchievem..


원문링크 : 유니티 C# 업적 시스템 만들기 간단 구현