chicken_dy/Assets/Scripts/Init/InitLogic.cs

20 lines
394 B
C#
Raw Normal View History

2022-01-26 07:46:33 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
2022-01-26 07:46:33 +00:00
public class InitLogic : MonoBehaviour
{
private void Start()
2022-01-26 07:46:33 +00:00
{
2022-03-01 02:55:29 +00:00
Application.targetFrameRate = 60;
TKGSDKManager.Instance.InitSDK(EnterGame);
2022-07-27 02:30:05 +00:00
EnterGame();
2022-02-15 11:16:17 +00:00
}
private void EnterGame()
{
SceneManager.LoadScene("Main");
2022-01-26 07:46:33 +00:00
}
}