Final commit

This commit is contained in:
2022-05-18 00:21:35 +07:00
parent ebddcadc38
commit 4132787ef8
1671 changed files with 697308 additions and 714 deletions

View File

@ -0,0 +1,21 @@
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.EventSystems;
public class EventSystemChecker : MonoBehaviour
{
//public GameObject eventSystem;
// Use this for initialization
void Awake ()
{
if(!FindObjectOfType<EventSystem>())
{
//Instantiate(eventSystem);
GameObject obj = new GameObject("EventSystem");
obj.AddComponent<EventSystem>();
obj.AddComponent<StandaloneInputModule>().forceModuleActive = true;
}
}
}