This commit is contained in:
kridoo
2026-01-12 09:39:28 +08:00
parent 333a4f3ecb
commit ac041525cc
67 changed files with 43293 additions and 3266 deletions

View File

@@ -21,11 +21,11 @@ public class PermissionRequest : MonoBehaviour
{
if (hasFocus)
{
Debug.Log("应用程序获得焦点OnApplicationFocus" + hasFocus);
//Debug.Log("应用程序获得焦点OnApplicationFocus" + hasFocus);
}
else
{
Debug.Log("应用程序失去焦点OnApplicationFocus" + hasFocus);
//Debug.Log("应用程序失去焦点OnApplicationFocus" + hasFocus);
}
if (hasFocus)

View File

@@ -125,6 +125,7 @@ public class StartShowUICtr : MonoBehaviour
}
else
{
//Debug.Log("WaitingShowUI" + RunningSceneMgr.Instance._runningSceneData.id);
GlobalEventMgr.Dispatch(GameEvent.EventShowUI, RunningSceneMgr.Instance._runningSceneData.id % 10000);
}

View File

@@ -15,7 +15,9 @@ public class UIPanelControll : MonoSingleton<UIPanelControll>
//<2F><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
bool isRun = false;
bool isRun2 = false;
float waitTime = 5f;
float waitTime2 = 3f;
float runTime = 0;
int nowIndex = 0; //<2F><>ǰ<EFBFBD>±<EFBFBD>
@@ -35,6 +37,23 @@ public class UIPanelControll : MonoSingleton<UIPanelControll>
isRun = false;
runTime = 0;
ListUiImg[nowIndex].gameObject.SetActive(false);
if (nowIndex==0)
{
}
}
}
if (isRun2)
{
runTime += Time.deltaTime;
if (runTime >= waitTime2)
{
isRun2 = false;
isRun = true;
runTime = 0;
ListUiImg[0].gameObject.SetActive(true);
ListUiImg[8].gameObject.SetActive(false);
GlobalEventMgr.Dispatch(GameEvent.EventPlayTimeline);
}
}
}
@@ -45,14 +64,22 @@ public class UIPanelControll : MonoSingleton<UIPanelControll>
if (index == 0|| index == 7)
{
nowIndex = index;
ListUiImg[nowIndex].gameObject.SetActive(true);
if (index != 7)
if (index == 0)
{
isRun2 = true;
ListUiImg[8].gameObject.SetActive(true);
}
else
{
ListUiImg[nowIndex].gameObject.SetActive(true);
}
if (index != 7&&index!=0)
isRun = true;
else
{
if (index == 7)
{
waitTime = 11;
waitTime = 5;
isRun = true;
}
}