CD-ROOM/Assets/Scripts/UI/UnlockDisk.cs
Gerard Gascón 341a877b4a init
2025-04-24 17:37:25 +02:00

9 lines
245 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnlockDisk : MonoBehaviour{
public void Unlock(){
PlayerPrefs.SetInt("DiskUnlocked", PlayerPrefs.GetInt("DiskUnlocked", 0) + 1);
}
}