19 lines
316 B
C#
19 lines
316 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public static class DataManager
|
|
{
|
|
public static int Level
|
|
{
|
|
get
|
|
{
|
|
return PlayerPrefs.GetInt("Level");
|
|
}
|
|
set
|
|
{
|
|
PlayerPrefs.SetInt("Level",value);
|
|
}
|
|
}
|
|
}
|