rise-and-swine/Assets/Scripts/Assembly-CSharp/LevelStub.cs
2023-02-25 23:04:03 -05:00

11 lines
290 B
C#

using UnityEngine;
public class LevelStub : MonoBehaviour
{
private void Awake()
{
GameObject gameObject = Singleton<GameManager>.Instance.CurrentLevelLoader().gameObject;
UnityEngine.Object.Instantiate<GameObject>(gameObject);
UnityEngine.Object.Destroy(base.gameObject);
}
}