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