init
This commit is contained in:
commit
341a877b4a
2338 changed files with 1346408 additions and 0 deletions
9
Assets/Scripts/UI/UnlockDisk.cs
Normal file
9
Assets/Scripts/UI/UnlockDisk.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class UnlockDisk : MonoBehaviour{
|
||||
public void Unlock(){
|
||||
PlayerPrefs.SetInt("DiskUnlocked", PlayerPrefs.GetInt("DiskUnlocked", 0) + 1);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue