유니티 C# 출석체크 기능 간단 구현하기 Attendance


유니티 C# 출석체크 기능 간단 구현하기 Attendance

코드 작성 using System; using UnityEngine; public class AttendanceManager : MonoBehaviour { private int consecutiveDays; private bool hasCheckedInToday; public int ConsecutiveDays { get { return consecutiveDays; } } private void Start() { consecutiveDays = PlayerPrefs.GetInt("ConsecutiveDays", 0); hasCheckedInToday = PlayerPrefs.GetInt("HasCheckedInToday", 0) == 1; } public void CheckIn() { if (!has..


원문링크 : 유니티 C# 출석체크 기능 간단 구현하기 Attendance