10 lines
245 B
C#
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);
|
|
}
|
|
}
|