This commit is contained in:
zhangzheng
2026-03-26 14:14:19 +08:00
parent 2c230960db
commit 0691cb632b
9 changed files with 2259 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SplashScreen : MonoBehaviour
{
public string sceneName;
async void Start()
{
await Task.Delay(TimeSpan.FromSeconds(2));
await SceneManager.LoadSceneAsync(sceneName);
Destroy(gameObject);
}
// Update is called once per frame
void Update()
{
}
}