From 58d0d0d961003245b93f1899ffd507d35115af61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=88=92=E8=8D=A3=E6=A3=AE?= <7716842+shurongsen@user.noreply.gitee.com> Date: Thu, 28 Nov 2024 04:25:21 +0800 Subject: [PATCH] add --- TheStrongestSnail/Assets/Scenes/logo.unity | 111 ------------------ TheStrongestSnail/Assets/Scenes/newtest.unity | 30 +++++ TheStrongestSnail/Assets/common/base/base.cs | 2 +- 3 files changed, 31 insertions(+), 112 deletions(-) diff --git a/TheStrongestSnail/Assets/Scenes/logo.unity b/TheStrongestSnail/Assets/Scenes/logo.unity index 93afb5d..f64e030 100644 --- a/TheStrongestSnail/Assets/Scenes/logo.unity +++ b/TheStrongestSnail/Assets/Scenes/logo.unity @@ -3983,117 +3983,6 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1230797779 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1230797780} - - component: {fileID: 1230797781} - m_Layer: 0 - m_Name: Global - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1230797780 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1230797779} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 960.40076, y: 1284.435, z: -10.213597} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &1230797781 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1230797779} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 761bde84815251c42a1d655b4e8c2b0d, type: 3} - m_Name: - m_EditorClassIdentifier: - serverResponse: - code: 0 - message: - data: - userId: 0 - userName: - token: - nickName: - headImg: - gender: - birthday: - idCard: - inviteCodeMy: - inviteCodeBind: - bindTime: - station: - cuteNo: - memberTime: - response: - code: 0 - message: - data: - carrySeconds: 0 - gameEscapeRoomResponseVoList: [] - gameEscapeModel: - id: 0 - gameNo: - demonMode: 0 - startTime: - betTime: - countTime: - settleTime: - status: 0 - roomNoKill: - roomNoRemain: - beansCoinAll: 0 - beansCoinKill: 0 - beansCoinRemain: 0 - beansCoinFee: 0 - beansCoinRank: 0 - beansCoinDivide: 0 - realPlayerInfo: - code: 0 - message: - data: - userId: 0 - userName: 0 - token: - nickName: - headImg: - gender: 0 - birthday: - voluteCoin: 0 - beansCoin: 0 - ichorCoin: 0 - idCard: - bank: - realName: - isCert: 0 - inviteCodeMy: - inviteCodeBind: - bindTime: - station: 0 - cuteNo: - memberTime: - isMember: 0 - unionId: 0 --- !u!1 &1358692575 GameObject: m_ObjectHideFlags: 0 diff --git a/TheStrongestSnail/Assets/Scenes/newtest.unity b/TheStrongestSnail/Assets/Scenes/newtest.unity index 7b3f896..ca8dc8c 100644 --- a/TheStrongestSnail/Assets/Scenes/newtest.unity +++ b/TheStrongestSnail/Assets/Scenes/newtest.unity @@ -329,6 +329,8 @@ GameObject: - component: {fileID: 684020978} - component: {fileID: 684020981} - component: {fileID: 684020980} + - component: {fileID: 684020983} + - component: {fileID: 684020982} m_Layer: 5 m_Name: Image m_TagString: Untagged @@ -394,6 +396,34 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 684020977} m_CullTransparentMesh: 1 +--- !u!114 &684020982 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 684020977} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cf7c464bd7bdfcc4db645246bf4529ec, type: 3} + m_Name: + m_EditorClassIdentifier: + retbutton: {fileID: 0} + ClosureObj: {fileID: 0} +--- !u!114 &684020983 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 684020977} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c02b3c0b40de2c84c8cd8d2edb52f70d, type: 3} + m_Name: + m_EditorClassIdentifier: + retbutton: {fileID: 0} + ClosureObj: {fileID: 0} --- !u!1 &1644448011 GameObject: m_ObjectHideFlags: 0 diff --git a/TheStrongestSnail/Assets/common/base/base.cs b/TheStrongestSnail/Assets/common/base/base.cs index 2fa54b4..3ef2ce1 100644 --- a/TheStrongestSnail/Assets/common/base/base.cs +++ b/TheStrongestSnail/Assets/common/base/base.cs @@ -12,7 +12,7 @@ using UnityEditor.SceneManagement; public class Base : MonoBehaviour { - private List LoadClassName = new List() { "ImageLoader" };//写入需要全局自动实例化的类 + private List LoadClassName = new List() { "ImageLoader" , "Global" };//写入需要全局自动实例化的类 public Button retbutton; public GameObject ClosureObj; public static GameObject GlobalObj;