using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialManager : MonoBehaviour {
public GameObject GuidePanel;
void Start () {
if (PlayerPrefs.HasKey("非新手"))//数据判断有无
{
print("非新手");
GuidePanel.SetActive(false);
}
else
{
GuidePanel.SetActive(true);
PlayerPrefs.SetInt("非新手",1);
print("新手");
}
}
}
unity 创建新手引导
最新推荐文章于 2024-06-28 16:43:02 发布