From 6f3839b95ae0b4251a33c1277c0ad3839d0eceef Mon Sep 17 00:00:00 2001
From: "2274240467@qq.com" <2274240467@qq.com>
Date: Mon, 3 Nov 2025 10:57:51 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=A1=E9=81=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Assets/Scenes/02_环保管家-Tsq.unity | 498 +++++++++++++++++++++-------
Assets/Scripts/TSQ/GameManager.cs | 46 ++-
Assets/Scripts/TSQ/Manager.cs | 7 +-
Assets/mod/Materials/半透明.mat | 16 +-
4 files changed, 442 insertions(+), 125 deletions(-)
diff --git a/Assets/Scenes/02_环保管家-Tsq.unity b/Assets/Scenes/02_环保管家-Tsq.unity
index ecbff5b..9904d5a 100644
--- a/Assets/Scenes/02_环保管家-Tsq.unity
+++ b/Assets/Scenes/02_环保管家-Tsq.unity
@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.38771254, g: 0.46119627, b: 0.54483825, a: 1}
+ m_IndirectSpecularColor: {r: 0.38771453, g: 0.46119025, b: 0.54485047, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -3634,9 +3634,9 @@ RectTransform:
m_Father: {fileID: 253596675}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 312, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 24}
m_Pivot: {x: 0, y: 1}
--- !u!114 &101971477
@@ -7441,8 +7441,8 @@ RectTransform:
m_Father: {fileID: 1554574998}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 0.34131736}
+ m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
@@ -7553,7 +7553,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 8
+ m_RootOrder: 13
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &157434580
MonoBehaviour:
@@ -7584,6 +7584,12 @@ MonoBehaviour:
EnterpriseInformation_image: {fileID: 1483883162}
EnterpriseInformationName_text: {fileID: 1275446625}
targetImage: {fileID: 807803386}
+ isClick: 0
+ PipelineBTn: {fileID: 1720713052}
+ Pipeline:
+ - {fileID: 1725768248}
+ - {fileID: 653570865}
+ - {fileID: 438276994}
ScendToggle:
- {fileID: 1811425061}
- {fileID: 1205898907}
@@ -9774,9 +9780,9 @@ RectTransform:
m_Father: {fileID: 364625692}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 0, y: -114}
m_SizeDelta: {x: 366, y: 49}
m_Pivot: {x: 0, y: 1}
--- !u!114 &202126476
@@ -9863,9 +9869,9 @@ RectTransform:
m_Father: {fileID: 861513064}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 234, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 138}
m_Pivot: {x: 0, y: 1}
--- !u!114 &204645953
@@ -11839,7 +11845,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 16, y: 212}
- m_SizeDelta: {x: 378, y: 24}
+ m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!114 &253596676
MonoBehaviour:
@@ -11928,9 +11934,9 @@ RectTransform:
m_Father: {fileID: 364625692}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 0, y: -228}
m_SizeDelta: {x: 366, y: 49}
m_Pivot: {x: 0, y: 1}
--- !u!114 &259438988
@@ -15033,9 +15039,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -200}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &331886945
@@ -15120,9 +15126,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -292}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &334265788
@@ -16221,7 +16227,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 334}
m_Pivot: {x: 0, y: 1}
--- !u!114 &364625693
MonoBehaviour:
@@ -17208,9 +17214,9 @@ RectTransform:
m_Father: {fileID: 1499822386}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 110, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 14, y: 11}
m_Pivot: {x: 0, y: 1}
--- !u!114 &372588543
@@ -17623,8 +17629,8 @@ RectTransform:
m_Father: {fileID: 253596675}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 24}
m_Pivot: {x: 0, y: 1}
@@ -18148,9 +18154,9 @@ RectTransform:
m_Father: {fileID: 364625692}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 0, y: -57}
m_SizeDelta: {x: 366, y: 49}
m_Pivot: {x: 0, y: 1}
--- !u!114 &383583762
@@ -18498,9 +18504,9 @@ RectTransform:
m_Father: {fileID: 1499822386}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 60, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 14, y: 11}
m_Pivot: {x: 0, y: 1}
--- !u!114 &393866241
@@ -19720,7 +19726,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 6
+ m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &413728058
GameObject:
@@ -20871,6 +20877,11 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 437888416}
m_CullTransparentMesh: 1
+--- !u!1 &438276994 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
+ m_PrefabInstance: {fileID: 509363040}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &444658857
GameObject:
m_ObjectHideFlags: 0
@@ -21421,9 +21432,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -16}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &453160817
@@ -21643,9 +21654,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -338}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &460515678
@@ -23644,7 +23655,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
propertyPath: m_IsActive
- value: 0
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 992215251908978067, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -24149,9 +24160,9 @@ RectTransform:
m_Father: {fileID: 1499822386}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 260, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 14, y: 11}
m_Pivot: {x: 0, y: 1}
--- !u!114 &517202913
@@ -27418,8 +27429,8 @@ RectTransform:
m_Father: {fileID: 861513064}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 138}
m_Pivot: {x: 0, y: 1}
@@ -31105,6 +31116,11 @@ MonoBehaviour:
m_Spacing: {x: 16, y: 8}
m_Constraint: 1
m_ConstraintCount: 2
+--- !u!1 &653570865 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
+ m_PrefabInstance: {fileID: 1302865948}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &653852170
GameObject:
m_ObjectHideFlags: 0
@@ -37134,6 +37150,37 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 758745024}
m_CullTransparentMesh: 1
+--- !u!1 &761124386
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 761124387}
+ m_Layer: 0
+ m_Name: GameObject
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &761124387
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 761124386}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 11
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &763719506
GameObject:
m_ObjectHideFlags: 0
@@ -40128,7 +40175,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 11
+ m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &837927391
GameObject:
@@ -40448,9 +40495,9 @@ RectTransform:
m_Father: {fileID: 364625692}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 0, y: -171}
m_SizeDelta: {x: 366, y: 49}
m_Pivot: {x: 0, y: 1}
--- !u!114 &856412125
@@ -40696,7 +40743,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 16, y: -16}
- m_SizeDelta: {x: 378, y: 138}
+ m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &861513065
MonoBehaviour:
@@ -43745,9 +43792,9 @@ RectTransform:
m_Father: {fileID: 1499822386}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 160, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 14, y: 11}
m_Pivot: {x: 0, y: 1}
--- !u!114 &925999425
@@ -44859,9 +44906,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -108}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &941191210
@@ -45814,9 +45861,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -430}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &973664174
@@ -49075,7 +49122,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 11bf5348c90d8ab45b58639e25502fcc, type: 3}
propertyPath: m_RootOrder
- value: 12
+ value: 9
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 11bf5348c90d8ab45b58639e25502fcc, type: 3}
propertyPath: m_LocalPosition.x
@@ -57988,9 +58035,9 @@ RectTransform:
m_Father: {fileID: 253596675}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 156, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 24}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1203517343
@@ -58354,9 +58401,9 @@ RectTransform:
m_Father: {fileID: 364625692}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 0, y: -285}
m_SizeDelta: {x: 366, y: 49}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1207228237
@@ -62167,9 +62214,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -384}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &1291195235
@@ -62908,7 +62955,7 @@ PrefabInstance:
objectReference: {fileID: 2100000, guid: a04059d05cff8ec42948e26a2322088b, type: 2}
- target: {fileID: -8679921383154817045, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
propertyPath: m_RootOrder
- value: 13
+ value: 10
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
propertyPath: m_LocalPosition.x
@@ -67084,7 +67131,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
propertyPath: m_IsActive
- value: 1
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 933002702888610104, guid: 2f746d1d0c3944546aa1656530520456, type: 3}
propertyPath: m_Materials.Array.data[0]
@@ -71551,9 +71598,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -62}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &1329350931
@@ -71837,9 +71884,9 @@ RectTransform:
m_Father: {fileID: 1499822386}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 210, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 14, y: 11}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1331128254
@@ -74251,9 +74298,9 @@ RectTransform:
m_Father: {fileID: 861513064}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 156, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 138}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1382971331
@@ -77087,9 +77134,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -246}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &1451837124
@@ -79026,7 +79073,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: -2}
- m_SizeDelta: {x: 274, y: 11}
+ m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1499822387
MonoBehaviour:
@@ -80658,7 +80705,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 9
+ m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1540277724
GameObject:
@@ -86058,9 +86105,9 @@ RectTransform:
m_Father: {fileID: 253596675}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 78, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 24}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1660270299
@@ -86972,9 +87019,9 @@ RectTransform:
m_Father: {fileID: 1499822386}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 10, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 14, y: 11}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1676088365
@@ -87962,9 +88009,9 @@ RectTransform:
m_Father: {fileID: 861513064}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 312, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 138}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1691926104
@@ -89979,8 +90026,9 @@ GameObject:
- component: {fileID: 1720713049}
- component: {fileID: 1720713051}
- component: {fileID: 1720713050}
+ - component: {fileID: 1720713052}
m_Layer: 5
- m_Name: "\u7BA1\u9053\u603B\u6570\u91CF"
+ m_Name: "\u7BA1\u9053"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -90045,6 +90093,50 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1720713048}
m_CullTransparentMesh: 1
+--- !u!114 &1720713052
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1720713048}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 1720713050}
+ m_OnClick:
+ m_PersistentCalls:
+ m_Calls: []
--- !u!1 &1721982487
GameObject:
m_ObjectHideFlags: 0
@@ -90199,6 +90291,178 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1724033396}
m_CullTransparentMesh: 1
+--- !u!1 &1725768248 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 93bb6de6e1f823c4ba6814043dbda89f, type: 3}
+ m_PrefabInstance: {fileID: 1943571754}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &1725768252
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1725768248}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 888380afc233049ce9e618f9f36c8ba8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ profile: {fileID: 0}
+ profileSync: 0
+ previewInEditor: 1
+ camerasLayerMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ effectGroup: 0
+ effectGroupLayer:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ effectNameFilter:
+ combineMeshes: 0
+ alphaCutOff: 0
+ cullBackFaces: 1
+ ignoreObjectVisibility: 0
+ reflectionProbes: 0
+ GPUInstancing: 1
+ depthClip: 0
+ cameraDistanceFade: 0
+ cameraDistanceFadeNear: 0
+ cameraDistanceFadeFar: 1000
+ normalsOption: 0
+ ignore: 0
+ _highlighted: 1
+ fadeInDuration: 0
+ fadeOutDuration: 0
+ flipY: 0
+ constantWidth: 1
+ subMeshMask: -1
+ overlay: 0
+ overlayMode: 0
+ overlayColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
+ overlayAnimationSpeed: 1
+ overlayMinIntensity: 0.5
+ overlayBlending: 1
+ overlayTexture: {fileID: 0}
+ overlayTextureUVSpace: 0
+ overlayTextureScale: 1
+ outline: 1
+ outlineColor: {r: 0, g: 0.5686275, b: 1, a: 1}
+ outlineColorStyle: 0
+ outlineGradient:
+ serializedVersion: 2
+ key0: {r: 1, g: 1, b: 1, a: 1}
+ key1: {r: 1, g: 1, b: 1, a: 1}
+ key2: {r: 0, g: 0, b: 0, a: 0}
+ key3: {r: 0, g: 0, b: 0, a: 0}
+ key4: {r: 0, g: 0, b: 0, a: 0}
+ key5: {r: 0, g: 0, b: 0, a: 0}
+ key6: {r: 0, g: 0, b: 0, a: 0}
+ key7: {r: 0, g: 0, b: 0, a: 0}
+ ctime0: 0
+ ctime1: 65535
+ ctime2: 0
+ ctime3: 0
+ ctime4: 0
+ ctime5: 0
+ ctime6: 0
+ ctime7: 0
+ atime0: 0
+ atime1: 65535
+ atime2: 0
+ atime3: 0
+ atime4: 0
+ atime5: 0
+ atime6: 0
+ atime7: 0
+ m_Mode: 0
+ m_NumColorKeys: 2
+ m_NumAlphaKeys: 2
+ outlineGradientInLocalSpace: 0
+ outlineWidth: 0.3
+ outlineQuality: 3
+ outlineDownsampling: 2
+ outlineVisibility: 0
+ glowBlendMode: 0
+ outlineOptimalBlit: 1
+ outlineBlitDebug: 0
+ outlineIndependent: 0
+ glow: 0
+ glowWidth: 0.4
+ glowQuality: 3
+ glowDownsampling: 2
+ glowHQColor: {r: 0.64, g: 1, b: 0, a: 1}
+ glowDithering: 1
+ glowMagicNumber1: 0.75
+ glowMagicNumber2: 0.5
+ glowAnimationSpeed: 1
+ glowVisibility: 0
+ glowOptimalBlit: 1
+ glowBlitDebug: 0
+ glowBlendPasses: 1
+ glowPasses:
+ - offset: 4
+ alpha: 0.1
+ color: {r: 0.64, g: 1, b: 0, a: 1}
+ - offset: 3
+ alpha: 0.2
+ color: {r: 0.64, g: 1, b: 0, a: 1}
+ - offset: 2
+ alpha: 0.3
+ color: {r: 0.64, g: 1, b: 0, a: 1}
+ - offset: 1
+ alpha: 0.4
+ color: {r: 0.64, g: 1, b: 0, a: 1}
+ glowIgnoreMask: 0
+ innerGlow: 0
+ innerGlowWidth: 1
+ innerGlowColor: {r: 1, g: 1, b: 1, a: 1}
+ innerGlowVisibility: 0
+ targetFX: 0
+ targetFXTexture: {fileID: 0}
+ targetFXColor: {r: 1, g: 1, b: 1, a: 1}
+ targetFXCenter: {fileID: 0}
+ targetFXRotationSpeed: 50
+ targetFXInitialScale: 4
+ targetFXEndScale: 1.5
+ targetFXScaleToRenderBounds: 1
+ targetFXAlignToGround: 0
+ targetFXFadePower: 32
+ targetFXGroundMaxDistance: 10
+ targetFXGroundLayerMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ targetFXTransitionDuration: 0.5
+ targetFXStayDuration: 1.5
+ targetFXVisibility: 1
+ seeThrough: 2
+ seeThroughOccluderMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ seeThroughOccluderThreshold: 0.3
+ seeThroughOccluderMaskAccurate: 0
+ seeThroughOccluderCheckInterval: 1
+ seeThroughOccluderCheckIndividualObjects: 0
+ seeThroughDepthOffset: 0
+ seeThroughMaxDepth: 0
+ seeThroughIntensity: 0.8
+ seeThroughTintAlpha: 0.5
+ seeThroughTintColor: {r: 1, g: 0, b: 0, a: 1}
+ seeThroughNoise: 1
+ seeThroughBorder: 0
+ seeThroughBorderColor: {r: 0, g: 0, b: 0, a: 1}
+ seeThroughBorderOnly: 0
+ seeThroughBorderWidth: 0.45
+ seeThroughOrdered: 0
+ seeThroughTexture: {fileID: 0}
+ seeThroughTextureUVSpace: 0
+ seeThroughTextureScale: 1
+ rmsCount: 1
+ hitFxInitialIntensity: 0
+ hitFxMode: 0
+ hitFxFadeOutDuration: 0.25
+ hitFxColor: {r: 1, g: 1, b: 1, a: 1}
+ hitFxRadius: 0.5
--- !u!1 &1726828070
GameObject:
m_ObjectHideFlags: 0
@@ -91102,9 +91366,9 @@ RectTransform:
m_Father: {fileID: 253596675}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 234, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 24}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1740968515
@@ -92590,7 +92854,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 1
+ m_IsActive: 0
--- !u!224 &1788418351
RectTransform:
m_ObjectHideFlags: 0
@@ -94174,9 +94438,9 @@ RectTransform:
m_Father: {fileID: 861513064}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 1}
- m_AnchorMax: {x: 0, y: 1}
- m_AnchoredPosition: {x: 78, y: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 138}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1819031358
@@ -97293,7 +97557,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 0
+ m_IsActive: 1
--- !u!224 &1879264913
RectTransform:
m_ObjectHideFlags: 0
@@ -100650,7 +100914,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 93bb6de6e1f823c4ba6814043dbda89f, type: 3}
propertyPath: m_RootOrder
- value: 10
+ value: 7
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 93bb6de6e1f823c4ba6814043dbda89f, type: 3}
propertyPath: m_LocalPosition.x
@@ -100696,6 +100960,10 @@ PrefabInstance:
propertyPath: m_Name
value: guandao
objectReference: {fileID: 0}
+ - target: {fileID: 919132149155446097, guid: 93bb6de6e1f823c4ba6814043dbda89f, type: 3}
+ propertyPath: m_IsActive
+ value: 0
+ objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 93bb6de6e1f823c4ba6814043dbda89f, type: 3}
--- !u!1 &1943815379
@@ -101338,8 +101606,8 @@ RectTransform:
m_Father: {fileID: 364625692}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 366, y: 49}
m_Pivot: {x: 0, y: 1}
@@ -104032,9 +104300,9 @@ RectTransform:
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
+ m_SizeDelta: {x: -1, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2001426129
MonoBehaviour:
@@ -104673,9 +104941,9 @@ RectTransform:
m_Father: {fileID: 1234176441}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 205, y: -154}
m_SizeDelta: {x: 378, y: 38}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &2017829865
@@ -107300,7 +107568,7 @@ Transform:
- {fileID: 2020713744}
- {fileID: 2106382859}
m_Father: {fileID: 0}
- m_RootOrder: 7
+ m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2070972783
GameObject:
diff --git a/Assets/Scripts/TSQ/GameManager.cs b/Assets/Scripts/TSQ/GameManager.cs
index fc052c9..23e9bdb 100644
--- a/Assets/Scripts/TSQ/GameManager.cs
+++ b/Assets/Scripts/TSQ/GameManager.cs
@@ -1,5 +1,7 @@
using System.Collections;
using System.Collections.Generic;
+using DG.Tweening;
+using HighlightPlus;
using UnityEngine;
public class GameManager : MonoBehaviour
@@ -9,10 +11,11 @@ public class GameManager : MonoBehaviour
{
UpToggle();
QYSCGYToggle();
+ JSC();
}
///
- /// ·аť¼
+ /// ·Toogle¼
///
public void UpToggle()
{
@@ -60,6 +63,39 @@ public class GameManager : MonoBehaviour
});
}
+ ///
+ /// ʻ
+ ///
+ public void JSC()
+ {
+ Manager.Instance.PipelineBTn.onClick.AddListener(() =>
+ {
+ // ÿεл״̬
+ Manager.Instance.isClick = !Manager.Instance.isClick;
+ if (Manager.Instance.isClick)
+ {
+ // isClick = true ʱ
+ Manager.Instance.Pipeline[0].SetActive(true);
+ Manager.Instance.Pipeline[1].SetActive(true);
+ Manager.Instance.Pipeline[2].SetActive(false);
+ HighlightEffect PipelineHig = Manager.Instance.Pipeline[0].GetComponent();
+ Manager.Instance.Tween = DOVirtual.Float(1, 0f, 1f, t =>
+ {
+ PipelineHig.innerGlow = t;
+ PipelineHig.outline = t;
+ }).SetLoops(-1, LoopType.Yoyo);
+ PipelineHig?.SetHighlighted(true);
+ }
+ else
+ {
+ // isClick = false ʱ
+ Manager.Instance.Pipeline[0].SetActive(false);
+ Manager.Instance.Pipeline[1].SetActive(false);
+ Manager.Instance.Pipeline[2].SetActive(true);
+ }
+ });
+ }
+
///
/// ҵϢҵ
///
@@ -77,4 +113,12 @@ public class GameManager : MonoBehaviour
});
}
}
+
+ ///
+ /// չʾܵ
+ ///
+ public void ShowPipeline()
+ {
+
+ }
}
diff --git a/Assets/Scripts/TSQ/Manager.cs b/Assets/Scripts/TSQ/Manager.cs
index e77d39f..5eaf0f6 100644
--- a/Assets/Scripts/TSQ/Manager.cs
+++ b/Assets/Scripts/TSQ/Manager.cs
@@ -1,9 +1,8 @@
-using System;
-using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
+using DG.Tweening;
///
/// еķű
@@ -19,6 +18,10 @@ public class Manager : MonoBehaviour
public GameObject EnterpriseInformation_image; //ҵϢͼƬ
public TextMeshProUGUI EnterpriseInformationName_text; //ҵϢ
public Image targetImage; // ҵϢ滻ͼƬ
+ public bool isClick; //һչʾڶ
+ public Button PipelineBTn; //չʾܵť
+ public List Pipeline; //չʾܵ
+ public Tween Tween;
#endregion
#region ҵϢ
diff --git a/Assets/mod/Materials/半透明.mat b/Assets/mod/Materials/半透明.mat
index 5407ce9..bec8728 100644
--- a/Assets/mod/Materials/半透明.mat
+++ b/Assets/mod/Materials/半透明.mat
@@ -9,13 +9,15 @@ Material:
m_PrefabAsset: {fileID: 0}
m_Name: "\u534A\u900F\u660E"
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
- m_ValidKeywords: []
+ m_ValidKeywords:
+ - _ALPHAPREMULTIPLY_ON
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
- m_CustomRenderQueue: -1
- stringTagMap: {}
+ m_CustomRenderQueue: 3000
+ stringTagMap:
+ RenderType: Transparent
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
@@ -61,20 +63,20 @@ Material:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- - _DstBlend: 0
+ - _DstBlend: 10
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- - _Mode: 0
+ - _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- - _ZWrite: 1
+ - _ZWrite: 0
m_Colors:
- - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _Color: {r: 0.6367924, g: 0.9098259, b: 1, a: 0.0627451}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []