Implemented music Added cloud tiles Made players be able to stand on each others' heads Synced the music and day/night cycle Added a transition in to the gameplay scene Fixed blocking while dying bug
15 lines
361 B
C#
15 lines
361 B
C#
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
public class EventSystemizer : MonoBehaviour
|
|
{
|
|
private void Update()
|
|
{
|
|
foreach (EventSystem system in FindObjectsByType<EventSystem>(FindObjectsSortMode.None))
|
|
{
|
|
if (system == GetComponent<EventSystem>()) continue;
|
|
Destroy(system.gameObject);
|
|
}
|
|
}
|
|
}
|