13 lines
361 B
C#
13 lines
361 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class LoadMenu : MonoBehaviour{
|
|
public void LoadLevel(){
|
|
Destroy(GameMaster.Instance.gameObject);
|
|
PlayerPrefs.DeleteKey("HP");
|
|
PlayerPrefs.DeleteKey("Percentage");
|
|
PlayerPrefs.DeleteKey("TimeSurvived");
|
|
Loader.Load(0);
|
|
}
|
|
}
|