From 54247e110c94a9df4af425845f5c011448c39c47 Mon Sep 17 00:00:00 2001 From: zhangaotian <8474238@qq.com> Date: Tue, 16 Jul 2024 18:53:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=BB=BA=E9=80=A0=E3=80=91=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=88=87=E6=8D=A2=E8=A1=A8=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Forest/Assets/Scenes/Build/Build_1.unity | 12 +- .../Scripts/Framework/GameBuild/BuildBoot.cs | 173 +++++++++++++----- .../Scripts/Framework/Manager/BuildManager.cs | 46 +++-- 3 files changed, 173 insertions(+), 58 deletions(-) diff --git a/Forest/Assets/Scenes/Build/Build_1.unity b/Forest/Assets/Scenes/Build/Build_1.unity index 14a878a..5a79ea8 100644 --- a/Forest/Assets/Scenes/Build/Build_1.unity +++ b/Forest/Assets/Scenes/Build/Build_1.unity @@ -760,7 +760,7 @@ PrefabInstance: - target: {fileID: 7644366489302203207, guid: e9c96c211fb08417084dbd9a3f85ab3c, type: 3} propertyPath: m_text - value: Build_Game + value: Start Game objectReference: {fileID: 0} - target: {fileID: 8263868880915436829, guid: e9c96c211fb08417084dbd9a3f85ab3c, type: 3} @@ -770,7 +770,9 @@ PrefabInstance: - target: {fileID: 8779257074991400646, guid: e9c96c211fb08417084dbd9a3f85ab3c, type: 3} propertyPath: m_text - value: Build_Tip + value: 'Not yet unlocked + + Go explore more levels!' objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] @@ -1541,7 +1543,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 9b618b5bdf3884745b8cccd94ea6fcf1, type: 3} m_Name: m_EditorClassIdentifier: - CurCondition: 50 + CurCondition: 0 --- !u!1 &655320739 GameObject: m_ObjectHideFlags: 0 @@ -4099,7 +4101,7 @@ Transform: m_GameObject: {fileID: 1919860221} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: -0.4, y: 0.41, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -4730,7 +4732,7 @@ Transform: m_GameObject: {fileID: 2135953382} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: -0.09, y: -0.26, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: diff --git a/Forest/Assets/Scripts/Framework/GameBuild/BuildBoot.cs b/Forest/Assets/Scripts/Framework/GameBuild/BuildBoot.cs index ddefb4e..6ee5a8b 100644 --- a/Forest/Assets/Scripts/Framework/GameBuild/BuildBoot.cs +++ b/Forest/Assets/Scripts/Framework/GameBuild/BuildBoot.cs @@ -1,14 +1,15 @@ +using TMPro; using System; -using System.Collections.Generic; -using Framework.Constants; -using Framework.Manager; +using UnityEngine; using Gameplay.Game; +using UnityEngine.UI; using Gameplay.Level; using Gameplay.Manager; +using Framework.Manager; +using Framework.Constants; using Sirenix.OdinInspector; -using TMPro; -using UnityEngine; -using UnityEngine.UI; +using System.Collections.Generic; +using LC.Google.Protobuf.WellKnownTypes; public class BuildBoot : MonoBehaviour { @@ -25,19 +26,18 @@ public class BuildBoot : MonoBehaviour public GameObject BubbleObj; - public List