using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Entry : MonoBehaviour { // Start is called before the first frame update void Start() { if (LoginMgr.CheckAutoLogin()) { SceneManager.LoadScene("Home", LoadSceneMode.Single); } else { SceneManager.LoadScene("Login", LoadSceneMode.Single); } } }