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

10 lines
245 B
C#

using UnityEngine;
public class LevelLoadedEventSender : MonoBehaviour
{
private void Start()
{
EventManager.Send(new LevelLoadedEvent(Singleton<GameManager>.Instance.GetGameState()));
UnityEngine.Object.Destroy(base.gameObject);
}
}