主场景

This commit is contained in:
liuliang 2024-11-16 01:07:21 +08:00
parent bad526453c
commit 7413db81c6
10 changed files with 13511 additions and 322 deletions

File diff suppressed because it is too large Load Diff

View File

@ -405,6 +405,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8631885452844930979, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_Text
value: "\u517B\u6210"
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 1906224345288813973, guid: 638b7f7423db411419568d073208d929, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 638b7f7423db411419568d073208d929, type: 3}
@ -567,7 +571,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -575,15 +579,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -615,11 +619,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -140
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -973,7 +977,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -981,15 +985,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -1021,11 +1025,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -1820
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -2016,7 +2020,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -2024,15 +2028,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -2064,11 +2068,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -1340
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -2256,7 +2260,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -2264,15 +2268,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -2304,11 +2308,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -1580
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -2467,7 +2471,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -2475,15 +2479,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -2515,11 +2519,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -380
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -2569,7 +2573,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -2577,15 +2581,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -2617,11 +2621,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -1100
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -2820,7 +2824,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -2828,15 +2832,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -2868,11 +2872,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -620
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -3006,7 +3010,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.x
@ -3014,15 +3018,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.x
value: 1078
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_SizeDelta.y
value: 280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalPosition.x
@ -3054,11 +3058,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.x
value: 539
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_AnchoredPosition.y
value: -860
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7279279972618018283, guid: bb034e205f89fc847bfdefb80c9f4eef, type: 3}
propertyPath: m_LocalEulerAnglesHint.x

View File

@ -3520,7 +3520,7 @@ GameObject:
- component: {fileID: 1293246371}
- component: {fileID: 1293246373}
m_Layer: 0
m_Name: -------------------- (1)
m_Name: pro
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

View File

@ -152,21 +152,27 @@ public class Logo_in : mount
AsyncOperation asyncLoad = SceneManager.LoadSceneAsync(JumpScene.scene_Main);
asyncLoad.allowSceneActivation = false;
AsyncOperation asyncLoadjinshadao = SceneManager.LoadSceneAsync(JumpScene.scene_jiashadao);
asyncLoadjinshadao.allowSceneActivation = false;
float timer = 0f;
AsyncOperation asyncLoadbaoshidao = SceneManager.LoadSceneAsync(JumpScene.scene_baoshidao);
asyncLoadbaoshidao.allowSceneActivation = false;
if (!asyncLoad.isDone)
while (!asyncLoad.isDone)
{
asyncLoad.allowSceneActivation = true;
// 更新计时器进度
timer += Time.deltaTime;
float progress = Mathf.Clamp01(timer / loadDuration);
// 设置进度条的值
sceneslider.value = progress;
// 检查是否加载完成且进度条到达100%
if (asyncLoad.progress >= 0.9f && progress >= 1f)
{
// 延迟短暂时间,确保玩家看到加载完成
yield return new WaitForSeconds(0.5f);
asyncLoad.allowSceneActivation = true; // 切换场景
}
yield return null;
}
yield return null;
}

View File

@ -36,8 +36,9 @@ public class DepagodaBtn : MonoBehaviour
void JUmpScem()
{
//Virtual_CameraManager.Instance.SwitchToCamera(1);
//gotoscene.SetActive(true);
Promptmgr.Instance.PromptBubble("ÔÝ먦·Å");
// gotoscene.SetActive(true);
//nowScene.SetActive(false);
SceneManager.LoadScene(JumpScene.lock_demon_tower);
//SceneManager.LoadScene(JumpScene.lock_demon_tower);
}
}

View File

@ -36,8 +36,8 @@ public class DuanzaoBtn : MonoBehaviour
void JUmpScem()
{
//Virtual_CameraManager.Instance.SwitchToCamera(1);
//gotoscene.SetActive(true);
//nowScene.SetActive(false);
SceneManager.LoadScene(JumpScene.scene_forging);
gotoscene.SetActive(true);
nowScene.SetActive(false);
//SceneManager.LoadScene(JumpScene.scene_forging);
}
}

View File

@ -35,8 +35,8 @@ public class JinBidaoBtn : MonoBehaviour
void JUmpScem()
{
//Virtual_CameraManager.Instance.SwitchToCamera(2);
//jinbidao.SetActive(true);
//nowScene.SetActive(false);
SceneManager.LoadScene(JumpScene.cultivation_gold_coin_Island);
jinbidao.SetActive(true);
nowScene.SetActive(false);
//SceneManager.LoadScene(JumpScene.cultivation_gold_coin_Island);
}
}

View File

@ -36,8 +36,8 @@ public class ZuanshiBtn : MonoBehaviour
void JUmpScem()
{
//Virtual_CameraManager.Instance.SwitchToCamera(1);
//gotoscene.SetActive(true);
//nowScene.SetActive(false);
SceneManager.LoadScene(JumpScene.scene_baoshidao);
gotoscene.SetActive(true);
nowScene.SetActive(false);
//SceneManager.LoadScene(JumpScene.scene_baoshidao);
}
}

View File

@ -20,10 +20,10 @@ public class jinTols : MonoBehaviour
{
transform.DOScale(Vector3.one, 0.5f).SetEase(Ease.OutBack);
//gotoscene.SetActive(true);
//nowScene.SetActive(false);
PlayerPrefs.SetInt("SceneStatus",1);
SceneManager.LoadScene(JumpScene.scene_Main);
gotoscene.SetActive(true);
nowScene.SetActive(false);
//PlayerPrefs.SetInt("SceneStatus",1);
//SceneManager.LoadScene(JumpScene.scene_Main);
return null;
}

View File

@ -12,6 +12,8 @@ public class Promptmgr : MonoBehaviour
public GameObject canvs;
public static AssetsPanel assestPanel;
public static Main_AsstePanel Main_AsstePanel;
private float timer;
// Start is called before the first frame update
void Start()
{
@ -23,6 +25,14 @@ public class Promptmgr : MonoBehaviour
}
private void Update()
{
//timer += Time.deltaTime;
//if (timer>3f)
//{
// Destroy(this.transform.gameObject);
//}
}
public void PromptBubble(string message)
{
@ -82,13 +92,12 @@ public class Promptmgr : MonoBehaviour
uielement.anchoredPosition = endPosition; // È·±£×îÖÕλÖÃ׼ȷ
// 等待一段时间后销毁
yield return new WaitForSeconds(1f); // 可调整的等待时间
if (uielement != null && uielement.gameObject != null)
{
Destroy(uielement.gameObject); // Ïú»ÙUIÔªËØ
}
}