mirror of
https://github.com/celisej567/forest.git
synced 2026-01-01 13:48:39 +03:00
22 lines
374 B
C#
22 lines
374 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class settingsbutton : MonoBehaviour
|
|
{
|
|
|
|
public void Load()
|
|
{
|
|
|
|
Time.timeScale = 1;
|
|
StartCoroutine("load");
|
|
}
|
|
|
|
IEnumerable load()
|
|
{
|
|
SceneManager.LoadSceneAsync("settings");
|
|
return null;
|
|
}
|
|
}
|