Merge branch 'feature/stone-day2' into 'develop'
Feature/stone day2 See merge request aibis-dream/aibis-dream!137
This commit is contained in:
@@ -9,11 +9,13 @@ namespace AibisDream.SystemEditor
|
||||
{
|
||||
private int _selectedIndex;
|
||||
private string _inputText = "";
|
||||
private string[] _options;
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
// 获取目标对象
|
||||
SystemHasData example = (SystemHasData)target;
|
||||
_options = example.GetDataKeyOptions();
|
||||
|
||||
// 绘制默认的 Inspector
|
||||
DrawDefaultInspector();
|
||||
@@ -21,14 +23,14 @@ namespace AibisDream.SystemEditor
|
||||
GUILayout.Label("数据加载与保存");
|
||||
// 绘制下拉选择和输入框
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
int newIndex = EditorGUILayout.Popup(_selectedIndex, example.GetDataKeyOptions());
|
||||
int newIndex = EditorGUILayout.Popup(_selectedIndex, _options);
|
||||
_inputText = EditorGUILayout.TextField(_inputText);
|
||||
EditorGUILayout.EndHorizontal();
|
||||
|
||||
if (newIndex != _selectedIndex)
|
||||
{
|
||||
_selectedIndex = newIndex;
|
||||
_inputText = example.GetDataKeyOptions()[newIndex];
|
||||
_inputText = _options[newIndex];
|
||||
}
|
||||
|
||||
// 保存按钮
|
||||
|
||||
+15
-15
@@ -35,7 +35,7 @@ ScriptedImporter:
|
||||
spriteMeshType: 0
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 200
|
||||
spritePixelsToUnits: 215
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 0
|
||||
generateCubemap: 6
|
||||
@@ -248,10 +248,10 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 2212
|
||||
y: 5498
|
||||
width: 697
|
||||
height: 356
|
||||
x: 2220
|
||||
y: 5499
|
||||
width: 682
|
||||
height: 348
|
||||
spriteID: 5dd8c8637cee4004791d409a9dd08c43
|
||||
spriteBone: []
|
||||
spriteOutline: []
|
||||
@@ -291,8 +291,8 @@ ScriptedImporter:
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 3941
|
||||
y: 6530
|
||||
width: 44
|
||||
y: 6529
|
||||
width: 43
|
||||
height: 21
|
||||
spriteID: 9f9deb0f2cb514d4d828fd62fa70dde3
|
||||
spriteBone: []
|
||||
@@ -417,7 +417,7 @@ ScriptedImporter:
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 3789
|
||||
y: 5498
|
||||
y: 5499
|
||||
width: 154
|
||||
height: 154
|
||||
spriteID: c562151c266172245900603e7959a8da
|
||||
@@ -523,8 +523,8 @@ ScriptedImporter:
|
||||
serializedVersion: 2
|
||||
x: 4
|
||||
y: 7105
|
||||
width: 1412
|
||||
height: 790
|
||||
width: 1416
|
||||
height: 794
|
||||
spriteID: 905674a2af97be442a16bdb7e34e5230
|
||||
spriteBone: []
|
||||
spriteOutline: []
|
||||
@@ -995,7 +995,7 @@ ScriptedImporter:
|
||||
- name: DefaultTexturePlatform
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
maxTextureSize: 4096
|
||||
maxTextureSize: 8192
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 2
|
||||
@@ -1055,7 +1055,7 @@ ScriptedImporter:
|
||||
mosaicLayers: 1
|
||||
characterMode: 1
|
||||
documentPivot: {x: 0, y: 0}
|
||||
documentAlignment: 7
|
||||
documentAlignment: 0
|
||||
importHiddenLayers: 0
|
||||
layerMappingOption: 2
|
||||
generatePhysicsShape: 0
|
||||
@@ -1067,7 +1067,7 @@ ScriptedImporter:
|
||||
spriteCategoryList:
|
||||
categories: []
|
||||
spritePackingTag:
|
||||
resliceFromLayer: 0
|
||||
resliceFromLayer: 1
|
||||
mosaicPSDLayers: []
|
||||
rigPSDLayers:
|
||||
- name: "\u6CE2\u5F62\u5C4F\u5E55"
|
||||
@@ -1533,9 +1533,9 @@ ScriptedImporter:
|
||||
sharedRigPSDLayers: []
|
||||
pSDLayerImportSetting: []
|
||||
importFileNodeState: 1
|
||||
platformSettingsDirtyTick: 638684918888245490
|
||||
platformSettingsDirtyTick: 638709385618986079
|
||||
spriteSizeExpandChanged: 0
|
||||
generateGOHierarchy: 0
|
||||
generateGOHierarchy: 1
|
||||
textureAssetName:
|
||||
prefabAssetName:
|
||||
spriteLibAssetName:
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1260,7 +1260,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 8
|
||||
m_SortingOrder: 17
|
||||
m_Sprite: {fileID: 21300000, guid: 6f1e19b22a956634b86a43a0ee4ae6f6, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
|
||||
@@ -72,8 +72,8 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 5
|
||||
m_Sprite: {fileID: 9131045294461249809, guid: 6de0a74e5b5268b4998dc7a5c687fb95, type: 3}
|
||||
m_SortingOrder: 6
|
||||
m_Sprite: {fileID: 1270100964141770735, guid: 149a798e8f987264f82beb4f4052eb5e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
|
||||
@@ -28,7 +28,7 @@ Transform:
|
||||
m_GameObject: {fileID: 5285827322175967477}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -1.733, y: -0.66, z: 0}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
@@ -74,7 +74,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 5
|
||||
m_SortingOrder: 6
|
||||
m_Sprite: {fileID: 21300000, guid: eccbf2467d281894bafba3ef467f0875, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@@ -135,4 +135,5 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
radius: 0
|
||||
gearSprite: {fileID: 0}
|
||||
isBroken: 0
|
||||
targetShaft: {fileID: 0}
|
||||
|
||||
@@ -1,125 +1,5 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &4413377968706854998
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6188141449000061737}
|
||||
- component: {fileID: 5891805930162401337}
|
||||
- component: {fileID: 7662770017579338042}
|
||||
m_Layer: 0
|
||||
m_Name: Static Gear
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &6188141449000061737
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4413377968706854998}
|
||||
serializedVersion: 2
|
||||
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: 8196328002646668744}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &5891805930162401337
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4413377968706854998}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 5
|
||||
m_Sprite: {fileID: -2413806693520163455, guid: a86470a33a6bf42c4b3595704624658b, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 1
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!58 &7662770017579338042
|
||||
CircleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4413377968706854998}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_ForceSendLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ForceReceiveLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ContactCaptureLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_CallbackLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
serializedVersion: 2
|
||||
m_Radius: 0.5
|
||||
--- !u!1 &6363828760380717502
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -150,8 +30,7 @@ Transform:
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 6188141449000061737}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &3043662884828134004
|
||||
@@ -194,7 +73,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 4
|
||||
m_SortingOrder: 5
|
||||
m_Sprite: {fileID: -5530534795728576300, guid: 6de0a74e5b5268b4998dc7a5c687fb95, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@@ -220,10 +99,13 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
id: 0
|
||||
shaftType: 0
|
||||
hasGear: 0
|
||||
isInitGearBroken: 0
|
||||
isInitGearDisc: 0
|
||||
initRadius: 0
|
||||
initSprite: {fileID: 0}
|
||||
hasGear: 0
|
||||
childGear: {fileID: 0}
|
||||
initialSpeed: 0
|
||||
targetSpeed: 0
|
||||
speed: 0
|
||||
speedMultiplier: 1
|
||||
|
||||
@@ -13,6 +13,6 @@ MonoBehaviour:
|
||||
m_Name: StoneDay2
|
||||
m_EditorClassIdentifier:
|
||||
nextScene: {fileID: 0}
|
||||
yarnProject: {fileID: 7545569452688597077, guid: 23b032aeb7a33db4a94b50b89fc530a7, type: 3}
|
||||
yarnProject: {fileID: 7545569452688597077, guid: c7bda76049631864984b10bc8201c815, type: 3}
|
||||
firstSceneName: ExpressFixScene
|
||||
isEndOfDay: 0
|
||||
|
||||
@@ -83,19 +83,19 @@ title: 泵机运行
|
||||
title: 引擎过速
|
||||
description: 引擎过速触发
|
||||
---
|
||||
当前档位为{$curAirLevel}
|
||||
过速
|
||||
===
|
||||
|
||||
title: 引擎掉速
|
||||
description: 引擎掉速触发
|
||||
---
|
||||
当前档位为{$curAirLevel}
|
||||
掉速
|
||||
===
|
||||
|
||||
title: 调整进气档位
|
||||
description: 调整进气档位时触发
|
||||
---
|
||||
当前档位为{$curAirLevel}
|
||||
调整进气档位
|
||||
===
|
||||
|
||||
// title: EngineSuccess
|
||||
|
||||
@@ -25,3 +25,33 @@ position: 470,-51
|
||||
---
|
||||
<<jump 检查_胃>>
|
||||
===
|
||||
|
||||
title: 破损齿轮插入
|
||||
descrption: 每个破损齿轮每次插入都会触发,具体怎么处理先交给yarn
|
||||
---
|
||||
<<if $gameStage == 4>>
|
||||
<<jump 复原完成>>
|
||||
<<endif>>
|
||||
===
|
||||
|
||||
|
||||
title: 齿轮系统状态变化
|
||||
---
|
||||
<<if ($discIdx == 1 || $discIdx == 2 || $discIdx == 3) && $speedReached>>
|
||||
<<move_needle>>
|
||||
目标达成
|
||||
<<jump 第二次维修结束>>
|
||||
<<elseif $speedReached>>
|
||||
齿轮达到目标速度
|
||||
<<elseif $discIdx == 1 || $discIdx == 2 || $discIdx == 3>>
|
||||
<<if $gameStage == 6>>
|
||||
$discIdx是唱片齿轮插入的轴的序号,1-3意味着插入的是目标的三个轴,0是其他轴
|
||||
<<move_needle>>
|
||||
<<endif>>
|
||||
<<else>>
|
||||
<<if $gameStage == 6>>
|
||||
这个命令是指把唱针挪到对应序号的轴上,参数为0则悬空
|
||||
<<move_needle>>
|
||||
<<endif>>
|
||||
<<endif>>
|
||||
===
|
||||
|
||||
@@ -101,9 +101,10 @@ position: 250,-1874
|
||||
<<indoor 1>>
|
||||
<<fade_out 1>>
|
||||
|
||||
|
||||
// FIXUP 立绘指令修改
|
||||
<<character_init_new "石头">>
|
||||
<<character_fade_in_new character>>
|
||||
<<character_fade_in_new>>
|
||||
// 立绘指令修改
|
||||
|
||||
隔了一天,石头出现在了诊所门口。
|
||||
@@ -144,10 +145,8 @@ me: 我记得他的动力系统是出过事故的…希望这次不是那么严
|
||||
|
||||
<<wait 0.5>>
|
||||
<<set $gameStage=2>>
|
||||
|
||||
<<switch_fix_system_to "BodyModule" "stone1.json">>
|
||||
|
||||
<<jump 主维修界面 >>
|
||||
<<jump 主维修界面 >>
|
||||
|
||||
===
|
||||
|
||||
@@ -173,7 +172,7 @@ position: 206,-1006
|
||||
|
||||
//变速箱阶段
|
||||
<<if $gameStage == 4>>
|
||||
<<jump 检查(临时)>>
|
||||
<<jump 变速箱维修_复原(临时)>>
|
||||
<<endif>>
|
||||
|
||||
//变速箱后对话阶段
|
||||
@@ -255,7 +254,7 @@ position: -609,-1099
|
||||
目前压力已被设置为了中等,石头现在能跑出更高的速度上限了。
|
||||
->缺陷检查
|
||||
检查到动力系统内部有缺齿的机械声音,可能与变速箱故障有关。
|
||||
->深入检查 // 这里没动。需要修改的时候找老丁交流
|
||||
->深入检查
|
||||
<<jump 变速箱维修(临时)>>
|
||||
->返回
|
||||
<<jump 检查(临时)>>
|
||||
@@ -328,12 +327,14 @@ position: -876,-409
|
||||
---
|
||||
->拆开变速箱螺丝
|
||||
<<set $gearBoxOpened=true>>
|
||||
拆开的一瞬间,里面的齿轮嘭的一声崩了出来。
|
||||
我们都被吓了一跳。我把散落的齿轮收集起来,好在看起来一个都没少。
|
||||
其中还有一些奇怪形状的齿轮…看起来像唱片一样。
|
||||
<<jump 变速箱维修(临时)>>
|
||||
->返回
|
||||
<<jump 主维修界面>>
|
||||
<<switch_fix_system_to "Gear" "stone_day2_1.json">>
|
||||
齿轮坏了blabla,然后回到诊所界面
|
||||
<<set $gearBoxOpened = true>>
|
||||
->返回
|
||||
<<set $gameStage = 3>> // 丁注:我理解是这里就可以回去看准备维修对话了
|
||||
<<switch_fix_system_to "Clinic">>
|
||||
<<jump 主维修界面>>
|
||||
|
||||
===
|
||||
|
||||
|
||||
@@ -344,21 +345,30 @@ tags:
|
||||
colorID: 8
|
||||
position: -867,-152
|
||||
---
|
||||
<<if $gearProblemKnown == false>>
|
||||
->复原齿轮
|
||||
当我重新把齿轮安装回去的时候,发现这些齿轮已经严重磨损了。
|
||||
装上后,我看到齿轮开始滑牙。这就是石头感到动力中断的原因。
|
||||
<<set $gearProblemKnown = true>>
|
||||
<<jump 主维修界面>>
|
||||
->返回
|
||||
<<jump 主维修界面>>
|
||||
<<else>>
|
||||
磨损的齿轮正在不断滑牙,这就是石头感到动力中断的原因。
|
||||
<<jump 主维修界面>>
|
||||
<<endif>>
|
||||
// <<if $gearProblemKnown == false>>
|
||||
// ->复原齿轮
|
||||
// 当我重新把齿轮安装回去的时候,发现这些齿轮已经严重磨损了。
|
||||
// 装上后,我看到齿轮开始滑牙。这就是石头感到动力中断的原因。
|
||||
// <<set $gearProblemKnown = true>>
|
||||
// <<jump 主维修界面>>
|
||||
// ->返回
|
||||
// <<jump 主维修界面>>
|
||||
// <<else>>
|
||||
// 磨损的齿轮正在不断滑牙,这就是石头感到动力中断的原因。
|
||||
// <<jump 主维修界面>>
|
||||
// <<endif>>
|
||||
<<switch_fix_system_to "Gear">>
|
||||
直接开启修复玩法
|
||||
===
|
||||
|
||||
|
||||
title: 复原完成
|
||||
description: 把错误齿轮放回去就会触发
|
||||
---
|
||||
<<set $gameStage = 5>>
|
||||
-> 返回诊所
|
||||
<<switch_fix_system_to "Clinic">>
|
||||
<<jump 主维修界面>>
|
||||
===
|
||||
|
||||
|
||||
title: 分析准备
|
||||
@@ -366,11 +376,6 @@ tags:
|
||||
colorID: 8
|
||||
position: 626,-314
|
||||
---
|
||||
//现在关于切换场景的数据保存还没有完成,建议先不切场景
|
||||
<<fade_in 1>>
|
||||
<<load_scene ClinicScene>>
|
||||
<<move_out_fix>>
|
||||
<<fade_out 1>>
|
||||
//<<OpenClueBoard ClueBoard>>
|
||||
me: 正是变速箱这套齿轮的缺损导致了动力的中断。这些锻钢齿轮还是不够耐磨……
|
||||
me: 不过能磨损这么严重,要施加很大的机械压力…这应该会非常痛才对。
|
||||
@@ -397,7 +402,6 @@ position: 627,-80
|
||||
石头的眼神变得得意起来。他告诉我这是他最中意的改装,只要跑起来,他就能听到音乐。
|
||||
他让我快把这些唱片装回去,他好和我分享他最爱的音乐。
|
||||
<<set $gameStage = 4>>
|
||||
<<fade_in 1>>
|
||||
<<jump 主维修界面>>
|
||||
|
||||
===
|
||||
@@ -450,11 +454,9 @@ title: 变速箱后对话
|
||||
tags:
|
||||
position: 311,143
|
||||
---
|
||||
<<fade_out 1>>
|
||||
me: (这应该够他扛一段时间了,只要他不再出事故…)
|
||||
变速箱修好了,接下来应该在引擎中测试一下确认故障已经被修好。
|
||||
<<set $gameStage = 6>>
|
||||
<<fade_in 1>>
|
||||
<<jump 主维修界面>>
|
||||
===
|
||||
|
||||
@@ -465,27 +467,39 @@ title: 加压(临时)
|
||||
tags:
|
||||
position: 311,143
|
||||
---
|
||||
->踩油门
|
||||
随着速度升高,齿轮的声音也变得尖锐起来。
|
||||
但是没有再发生动力中断的问题。
|
||||
石头看起来非常开心。他再次唱起了歌,并夸赞我的医术。
|
||||
“把压力再提高一档吧!”他忽然说。
|
||||
<<hide_dialog>>
|
||||
<<wait 0.5>>
|
||||
“什么?…压力…我已经提高过一次了。”我说。
|
||||
<<hide_dialog>>
|
||||
<<wait 1>>
|
||||
“是的!那就让他再高一档吧!”石头唱起了歌。在歌里,他无忧无虑,在城市街头快乐地穿梭。
|
||||
“我感觉非常好!多亏了你,我觉得我能再快一些!”
|
||||
->提高压力
|
||||
你把压力调高了一档。这次速度升得更高了。引擎的声音如此之大,他的身体显然承受着巨大的压力。
|
||||
<<hide_dialog>>
|
||||
<<wait 1>>
|
||||
在引擎的轰鸣声中,你听到了石头的歌声。
|
||||
他的声音如此快活,仿佛他不是在送货,而是在像鸟儿一样自由翱翔。
|
||||
->结束
|
||||
<<set $gameStage = 7>>
|
||||
<<jump 主维修界面>>
|
||||
// ->踩油门
|
||||
// 随着速度升高,齿轮的声音也变得尖锐起来。
|
||||
// 但是没有再发生动力中断的问题。
|
||||
// 石头看起来非常开心。他再次唱起了歌,并夸赞我的医术。
|
||||
// “把压力再提高一档吧!”他忽然说。
|
||||
// <<hide_dialog>>
|
||||
// <<wait 0.5>>
|
||||
// “什么?…压力…我已经提高过一次了。”我说。
|
||||
// <<hide_dialog>>
|
||||
// <<wait 1>>
|
||||
// “是的!那就让他再高一档吧!”石头唱起了歌。在歌里,他无忧无虑,在城市街头快乐地穿梭。
|
||||
// “我感觉非常好!多亏了你,我觉得我能再快一些!”
|
||||
// ->提高压力
|
||||
// 你把压力调高了一档。这次速度升得更高了。引擎的声音如此之大,他的身体显然承受着巨大的压力。
|
||||
// <<hide_dialog>>
|
||||
// <<wait 1>>
|
||||
// 在引擎的轰鸣声中,你听到了石头的歌声。
|
||||
// 他的声音如此快活,仿佛他不是在送货,而是在像鸟儿一样自由翱翔。
|
||||
// ->结束
|
||||
// <<set $gameStage = 7>>
|
||||
// <<jump 主维修界面>>
|
||||
|
||||
这里是第二次维修
|
||||
<<switch_fix_system_to "Gear" "stone_day2_3.json">>
|
||||
完成齿轮和唱片操作
|
||||
===
|
||||
|
||||
title: 第二次维修结束
|
||||
---
|
||||
第二次维修结束
|
||||
<<set $gameStage = 7>>
|
||||
<<switch_fix_system_to "Clinic">>
|
||||
<<jump 主维修界面>>
|
||||
===
|
||||
|
||||
|
||||
|
||||
+2600
-2039
File diff suppressed because it is too large
Load Diff
+17
-798
@@ -8074,8 +8074,8 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 18a3ec3914131d44199ae33902edf159, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
runMode: 0
|
||||
firstTalkSo: {fileID: 11400000, guid: 6d49b124127007b48b6881ce33350263, type: 2}
|
||||
runMode: 1
|
||||
firstTalkSo: {fileID: 11400000, guid: fe71f935f1f9a52458c994362567a211, type: 2}
|
||||
clinicScene: ClinicScene
|
||||
testYarnProject: Re_LTS_Peipeiday2
|
||||
--- !u!4 &719228339
|
||||
@@ -9041,155 +9041,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 85815d386fde43dca8b4be1cfd26fe89, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &791733123
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 791733124}
|
||||
- component: {fileID: 791733128}
|
||||
- component: {fileID: 791733127}
|
||||
- component: {fileID: 791733126}
|
||||
- component: {fileID: 791733125}
|
||||
m_Layer: 5
|
||||
m_Name: Button
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &791733124
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 791733123}
|
||||
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: 996104070}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 144, y: 12}
|
||||
m_SizeDelta: {x: 150, y: 150}
|
||||
m_Pivot: {x: 1, y: 1}
|
||||
--- !u!114 &791733125
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 791733123}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ee158225ee1e59f4791627785501d950, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
shaderTypes: 0
|
||||
normalStrength: 5
|
||||
normalSmoothing: 1
|
||||
computingNormal: 0
|
||||
--- !u!114 &791733126
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 791733123}
|
||||
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: 791733127}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 886733273}
|
||||
m_TargetAssemblyTypeName: BookManager, Assembly-CSharp
|
||||
m_MethodName: CloseBook
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!114 &791733127
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 791733123}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 1151292738}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: f1412f68a2eaf3f46b22686332552ed2, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!222 &791733128
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 791733123}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1001 &798685753
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -10549,53 +10400,6 @@ AudioSource:
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
--- !u!1 &886733270
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 886733272}
|
||||
- component: {fileID: 886733273}
|
||||
m_Layer: 0
|
||||
m_Name: BookManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &886733272
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 886733270}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -747.66504, y: -442.781, z: 11.91071}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1009826577}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &886733273
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 886733270}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 400c1e67877b4014fa862547c432b0b8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
book: {fileID: 996104069}
|
||||
CloseBookButton: {fileID: 791733126}
|
||||
OepnBookButton: {fileID: 1210536474}
|
||||
--- !u!1 &892571111
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -11320,221 +11124,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 429e0ca7a1096a1478e50195b88539b8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &996104068
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 1654679524}
|
||||
m_Modifications:
|
||||
- target: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Book
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11403584, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_Sprite
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 9392513c59cb1ca47baf6defed520dcd, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: canvas
|
||||
value:
|
||||
objectReference: {fileID: 1654679523}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: background
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: b38f1555bc2bc5246a7c1a87e231e51c, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: interactable
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: enableShadowEffect
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.size
|
||||
value: 16
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[0]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: f6bbf427ccd3e1149a3412bc5b255a60, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[1]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 519ce445dea91124b985267fc8452da9, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[2]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: b7fec590533c98e4b848db456cc28b21, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[3]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: dcafc5a1d5916be43832e5306edabd1f, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[4]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: f970a51dcf2964c46ad62d0be4d0fbfc, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[5]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: ea723990a8c52c7419743a8a8addaac7, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[6]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 356f63a75863d9e41aabb597b22ca8b1, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[7]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: c0ae2fe0bfd41b444baf2d7912cf8499, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[8]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: d2248944e9db9aa428057870e1a081a1, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[9]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 65238547f9c448945bff8fdb92bca914, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[10]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 874507461a61752499b17767e72316c6, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[11]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 1d312fe09f9273f4e903b35b453bc616, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[12]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 7b237029b43e77a479fba20d6f01b45c, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[13]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 5eb236dd6d1be374d8d666cd0d3b34bb, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[14]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: d91fa24592a8e7748bc197c3cf724359, type: 3}
|
||||
- target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: bookPages.Array.data[15]
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: c695396d62a18b14e9b7a661a3fe338f, type: 3}
|
||||
- target: {fileID: 11430880, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_Sprite
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: b38f1555bc2bc5246a7c1a87e231e51c, type: 3}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 1116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 861
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 791733124}
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 2066471073}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
--- !u!114 &996104069 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
m_PrefabInstance: {fileID: 996104068}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2066471071}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4446b7192d8bf914ebaf797b64fe8b86, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!224 &996104070 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
m_PrefabInstance: {fileID: 996104068}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &1009826576
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -11566,7 +11155,6 @@ Transform:
|
||||
m_Children:
|
||||
- {fileID: 72512886}
|
||||
- {fileID: 719228339}
|
||||
- {fileID: 886733272}
|
||||
- {fileID: 40915750}
|
||||
- {fileID: 442870838}
|
||||
- {fileID: 2000641911}
|
||||
@@ -12068,250 +11656,6 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1115376054}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!21 &1151292738
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: AllIn1SpriteShader/AllIn1SpriteShader
|
||||
m_Shader: {fileID: 4800000, guid: a36b7719ff0465b42ab1407d67672c5f, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- NEGATIVE_ON
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: 3000
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _ColorRampTex:
|
||||
m_Texture: {fileID: 2800000, guid: 279657edc397ece4b8029c727adf6ddc, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ColorRampTexGradient:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ColorSwapTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DistortTex:
|
||||
m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FadeBurnTex:
|
||||
m_Texture: {fileID: 2800000, guid: 677cca399782dea41aedc1d292ecb67d, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FadeTex:
|
||||
m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _GlowTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineDistortTex:
|
||||
m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 2800000, guid: 74087f6d03f233e4a8a142fa01f9e5cf, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OverlayTex:
|
||||
m_Texture: {fileID: 2800000, guid: 677cca399782dea41aedc1d292ecb67d, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ShineMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Alpha: 1
|
||||
- _AlphaCutoffValue: 0.25
|
||||
- _AlphaOutlineBlend: 1
|
||||
- _AlphaOutlineGlow: 5
|
||||
- _AlphaOutlineMinAlpha: 0
|
||||
- _AlphaOutlinePower: 1
|
||||
- _AlphaRoundThreshold: 0.5
|
||||
- _BillboardY: 0
|
||||
- _BlurHD: 0
|
||||
- _BlurIntensity: 10
|
||||
- _Brightness: 0
|
||||
- _ChromAberrAlpha: 0.4
|
||||
- _ChromAberrAmount: 1
|
||||
- _ClipUvDown: 0
|
||||
- _ClipUvLeft: 0
|
||||
- _ClipUvRight: 0
|
||||
- _ClipUvUp: 0
|
||||
- _ColorChangeLuminosity: 0
|
||||
- _ColorChangeTolerance: 0
|
||||
- _ColorChangeTolerance2: 0.25
|
||||
- _ColorChangeTolerance3: 0.25
|
||||
- _ColorRampBlend: 1
|
||||
- _ColorRampLuminosity: 0
|
||||
- _ColorRampOutline: 0
|
||||
- _ColorSwapBlend: 1
|
||||
- _ColorSwapBlueLuminosity: 0.5
|
||||
- _ColorSwapGreenLuminosity: 0.5
|
||||
- _ColorSwapRedLuminosity: 0.5
|
||||
- _Contrast: 1
|
||||
- _CullingOption: 0
|
||||
- _DistortAmount: 0.5
|
||||
- _DistortTexXSpeed: 5
|
||||
- _DistortTexYSpeed: 5
|
||||
- _EditorDrawers: 6
|
||||
- _FadeAmount: -0.1
|
||||
- _FadeBurnGlow: 2
|
||||
- _FadeBurnTransition: 0.075
|
||||
- _FadeBurnWidth: 0.025
|
||||
- _FishEyeUvAmount: 0.35
|
||||
- _FlickerAlpha: 0
|
||||
- _FlickerFreq: 0.2
|
||||
- _FlickerPercent: 0.05
|
||||
- _GhostBlend: 1
|
||||
- _GhostColorBoost: 1
|
||||
- _GhostTransparency: 0
|
||||
- _GlitchAmount: 3
|
||||
- _GlitchSize: 1
|
||||
- _Glow: 10
|
||||
- _GlowGlobal: 1
|
||||
- _GradBlend: 1
|
||||
- _GradBoostX: 1.2
|
||||
- _GradBoostY: 1.2
|
||||
- _GradIsRadial: 0
|
||||
- _GrassManualAnim: 1
|
||||
- _GrassManualToggle: 0
|
||||
- _GrassRadialBend: 0.1
|
||||
- _GrassSpeed: 2
|
||||
- _GrassWind: 20
|
||||
- _GreyscaleBlend: 1
|
||||
- _GreyscaleLuminosity: 0
|
||||
- _GreyscaleOutline: 0
|
||||
- _HandDrawnAmount: 10
|
||||
- _HandDrawnSpeed: 5
|
||||
- _HitEffectBlend: 1
|
||||
- _HitEffectGlow: 5
|
||||
- _HologramBlend: 1
|
||||
- _HologramMaxAlpha: 0.75
|
||||
- _HologramMinAlpha: 0.1
|
||||
- _HologramStripesAmount: 0.1
|
||||
- _HologramStripesSpeed: 4.5
|
||||
- _HologramUnmodAmount: 0
|
||||
- _HsvBright: 1
|
||||
- _HsvSaturation: 1
|
||||
- _HsvShift: 180
|
||||
- _InnerOutlineAlpha: 1
|
||||
- _InnerOutlineGlow: 4
|
||||
- _InnerOutlineThickness: 1
|
||||
- _MaxXUV: 1
|
||||
- _MaxYUV: 1
|
||||
- _MinXUV: 0
|
||||
- _MinYUV: 0
|
||||
- _MotionBlurAngle: 0.1
|
||||
- _MotionBlurDist: 1.25
|
||||
- _MyDstMode: 10
|
||||
- _MySrcMode: 5
|
||||
- _NegativeAmount: 1
|
||||
- _OffsetUvX: 0
|
||||
- _OffsetUvY: 0
|
||||
- _OnlyInnerOutline: 0
|
||||
- _OnlyOutline: 0
|
||||
- _OutlineAlpha: 1
|
||||
- _OutlineDistortAmount: 0.5
|
||||
- _OutlineDistortTexXSpeed: 5
|
||||
- _OutlineDistortTexYSpeed: 5
|
||||
- _OutlineGlow: 1.5
|
||||
- _OutlinePixelWidth: 1
|
||||
- _OutlineTexXSpeed: 10
|
||||
- _OutlineTexYSpeed: 0
|
||||
- _OutlineWidth: 0.004
|
||||
- _OverlayBlend: 1
|
||||
- _OverlayGlow: 1
|
||||
- _OverlayTextureScrollXSpeed: 0.25
|
||||
- _OverlayTextureScrollYSpeed: 0.25
|
||||
- _PinchUvAmount: 0.35
|
||||
- _PixelateSize: 32
|
||||
- _PosterizeGamma: 0.75
|
||||
- _PosterizeNumColors: 8
|
||||
- _PosterizeOutline: 0
|
||||
- _RadialClip: 45
|
||||
- _RadialClip2: 0
|
||||
- _RadialStartAngle: 90
|
||||
- _RandomSeed: 0
|
||||
- _RectSize: 1
|
||||
- _RotateUvAmount: 0
|
||||
- _RoundWaveSpeed: 2
|
||||
- _RoundWaveStrength: 0.7
|
||||
- _ShadowAlpha: 0.5
|
||||
- _ShadowX: 0.1
|
||||
- _ShadowY: -0.05
|
||||
- _ShakeUvSpeed: 2.5
|
||||
- _ShakeUvX: 1.5
|
||||
- _ShakeUvY: 1
|
||||
- _ShineGlow: 1
|
||||
- _ShineLocation: 0.5
|
||||
- _ShineRotate: 0
|
||||
- _ShineWidth: 0.1
|
||||
- _TextureScrollXSpeed: 1
|
||||
- _TextureScrollYSpeed: 0
|
||||
- _TwistUvAmount: 1
|
||||
- _TwistUvPosX: 0.5
|
||||
- _TwistUvPosY: 0.5
|
||||
- _TwistUvRadius: 0.75
|
||||
- _WarpScale: 0.5
|
||||
- _WarpSpeed: 8
|
||||
- _WarpStrength: 0.025
|
||||
- _WaveAmount: 7
|
||||
- _WaveSpeed: 10
|
||||
- _WaveStrength: 7.5
|
||||
- _WaveX: 0
|
||||
- _WaveY: 0.5
|
||||
- _ZTestMode: 4
|
||||
- _ZWrite: 0
|
||||
- _ZoomUvAmount: 0.5
|
||||
m_Colors:
|
||||
- _AlphaOutlineColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ColorChangeNewCol: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ColorChangeNewCol2: {r: 1, g: 1, b: 0, a: 1}
|
||||
- _ColorChangeNewCol3: {r: 1, g: 1, b: 0, a: 1}
|
||||
- _ColorChangeTarget: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ColorChangeTarget2: {r: 1, g: 0, b: 0, a: 1}
|
||||
- _ColorChangeTarget3: {r: 1, g: 0, b: 0, a: 1}
|
||||
- _ColorSwapBlue: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ColorSwapGreen: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ColorSwapRed: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _FadeBurnColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
- _GlowColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GradBotLeftCol: {r: 0, g: 0, b: 1, a: 1}
|
||||
- _GradBotRightCol: {r: 0, g: 1, b: 0, a: 1}
|
||||
- _GradTopLeftCol: {r: 1, g: 0, b: 0, a: 1}
|
||||
- _GradTopRightCol: {r: 1, g: 1, b: 0, a: 1}
|
||||
- _GreyscaleTintColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _HitEffectColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _HologramStripeColor: {r: 0, g: 1, b: 1, a: 1}
|
||||
- _InnerOutlineColor: {r: 1, g: 0, b: 0, a: 1}
|
||||
- _OutlineColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OverlayColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ShadowColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ShineColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!1 &1153212192
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -16733,18 +16077,18 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_nodes:
|
||||
- {fileID: 1757975688}
|
||||
- {fileID: 99451807}
|
||||
- {fileID: 149374365}
|
||||
- {fileID: 629580927}
|
||||
- {fileID: 188420216}
|
||||
- {fileID: 216794758}
|
||||
- {fileID: 475823260}
|
||||
- {fileID: 1556863301}
|
||||
- {fileID: 188420216}
|
||||
- {fileID: 852388797}
|
||||
- {fileID: 99451807}
|
||||
- {fileID: 1989818787}
|
||||
- {fileID: 500438203}
|
||||
- {fileID: 519528646}
|
||||
- {fileID: 629580927}
|
||||
- {fileID: 852388797}
|
||||
- {fileID: 1556863301}
|
||||
- {fileID: 1757975688}
|
||||
- {fileID: 1989818787}
|
||||
_connections: []
|
||||
_cacheRaycasters: 1
|
||||
--- !u!4 &1620453322
|
||||
@@ -16848,108 +16192,6 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1645213664}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &1654679520
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1654679524}
|
||||
- component: {fileID: 1654679523}
|
||||
- component: {fileID: 1654679522}
|
||||
- component: {fileID: 1654679521}
|
||||
m_Layer: 5
|
||||
m_Name: BookCanvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!114 &1654679521
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1654679520}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &1654679522
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1654679520}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 0
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 800, y: 600}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &1654679523
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1654679520}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 6
|
||||
m_TargetDisplay: 0
|
||||
--- !u!224 &1654679524
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1654679520}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 996104070}
|
||||
m_Father: {fileID: 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_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!1 &1655147930
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -21035,28 +20277,6 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2065230354}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &2066471071 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3}
|
||||
m_PrefabInstance: {fileID: 996104068}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &2066471073
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2066471071}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: bef881b4c6ed71248b493dcd92c831a5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Mode: 0
|
||||
TimeBetweenPages: 1
|
||||
DelayBeforeStarting: 0
|
||||
AutoStartFlip: 1
|
||||
ControledBook: {fileID: 996104069}
|
||||
--- !u!1 &2080447695
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -35141,18 +34361,18 @@ MonoBehaviour:
|
||||
lineRenderer: {fileID: 3253743068496567163}
|
||||
contentPanel: {fileID: 243936684424215245}
|
||||
localNodes:
|
||||
- {fileID: 1757975688}
|
||||
- {fileID: 99451807}
|
||||
- {fileID: 149374365}
|
||||
- {fileID: 629580927}
|
||||
- {fileID: 188420216}
|
||||
- {fileID: 216794758}
|
||||
- {fileID: 475823260}
|
||||
- {fileID: 1556863301}
|
||||
- {fileID: 188420216}
|
||||
- {fileID: 852388797}
|
||||
- {fileID: 99451807}
|
||||
- {fileID: 1989818787}
|
||||
- {fileID: 500438203}
|
||||
- {fileID: 519528646}
|
||||
- {fileID: 629580927}
|
||||
- {fileID: 852388797}
|
||||
- {fileID: 1556863301}
|
||||
- {fileID: 1757975688}
|
||||
- {fileID: 1989818787}
|
||||
localConnections: []
|
||||
pointer:
|
||||
customImage: {fileID: 1475193827753151906}
|
||||
@@ -35160,7 +34380,7 @@ MonoBehaviour:
|
||||
iconOnDrag: {fileID: 8895775685280376203, guid: eb11ac9a06fb4792b393db9b83ab43b4, type: 3}
|
||||
exclusiveOnDragCanvas: {fileID: 0}
|
||||
useLegacyDragMethod: 0
|
||||
position: {x: 969.7654, y: 1185.2512, z: 0}
|
||||
position: {x: 1565.25, y: 1263, z: 0}
|
||||
dragSelection:
|
||||
customRenderer: {fileID: 0}
|
||||
line:
|
||||
@@ -56792,7 +56012,6 @@ SceneRoots:
|
||||
- {fileID: 1343879457}
|
||||
- {fileID: 1009826577}
|
||||
- {fileID: 1655147933}
|
||||
- {fileID: 1654679524}
|
||||
- {fileID: 1559877096371354170}
|
||||
- {fileID: 1200911924}
|
||||
- {fileID: 2302717115629548829}
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace AibisDream
|
||||
{
|
||||
public class DialogController : Singleton<DialogController>
|
||||
{
|
||||
private const string BookManager = "BookManager";
|
||||
|
||||
private DialogueRunner dialogueRunner;
|
||||
private VariableStorageBehaviour _variableStorage;
|
||||
|
||||
@@ -61,11 +59,6 @@ namespace AibisDream
|
||||
dialogueRunner = GetComponentInChildren<DialogueRunner>();
|
||||
_variableStorage = GetComponentInChildren<InMemoryVariableStorage>();
|
||||
|
||||
// 开关书交互
|
||||
BookManager bookManager = GameObject.Find(BookManager).gameObject.GetComponent<BookManager>();
|
||||
bookManager.OnBookClosed += () => { IsBlock = false; };
|
||||
bookManager.OnBookOpen += () => { IsBlock = true; };
|
||||
|
||||
dialogueRunner.onDialogueStart.AddListener(() =>
|
||||
{
|
||||
OnDialogueStart?.Invoke();
|
||||
|
||||
@@ -44,6 +44,10 @@ namespace AibisDream.FixSystem
|
||||
TransitionDic.Add(FixState.UF, FixState.BodyModule, new UFToBodyModuleCommand());
|
||||
TransitionDic.Add(FixState.Clinic, FixState.CoolingMachine, new ClinicToCoolingCommand());
|
||||
TransitionDic.Add(FixState.CoolingMachine, FixState.Clinic, new CoolingToClinicCommand());
|
||||
TransitionDic.Add(FixState.BodyModule, FixState.Gear, new BodyModuleToGearCommand());
|
||||
TransitionDic.Add(FixState.Gear, FixState.BodyModule, new GearToBodyModuleCommand());
|
||||
TransitionDic.Add(FixState.Clinic, FixState.Gear, new ClinicToGearCommand());
|
||||
TransitionDic.Add(FixState.Gear, FixState.Clinic, new GearToClinicCommand());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -5,45 +5,86 @@ using UnityEngine;
|
||||
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
public class BodyModuleTransition
|
||||
public struct GearToBodyModuleCommand : ITransitionCommand
|
||||
{
|
||||
public struct BodyModuleToGearCommand : ITransitionCommand
|
||||
{
|
||||
private static readonly Vector3 CameraPos = new(-2.5f, 2.13f, -10);
|
||||
private const float OrthographicSize = 2.5f;
|
||||
private const float Duration = 2f;
|
||||
private const float Duration = 2f;
|
||||
|
||||
public IEnumerator Execute()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
var gearSystem = FixSystemCenter.SystemDic.Get<GearSystem>();
|
||||
|
||||
// 插头回到初始插孔
|
||||
bodyModuleSystem.ResetPlug();
|
||||
// 相机聚焦到目标位
|
||||
yield return CameraKit.Instance.TransCamera(CameraPos, OrthographicSize, Duration).WaitForCompletion();
|
||||
|
||||
// 打开引擎盖子
|
||||
yield return gearSystem.OpenCover();
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
{
|
||||
// 暂无参数
|
||||
}
|
||||
}
|
||||
|
||||
public struct GearToBodyModuleCommand : ITransitionCommand
|
||||
public IEnumerator Execute()
|
||||
{
|
||||
public IEnumerator Execute()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
var gearSystem = FixSystemCenter.SystemDic.Get<GearSystem>();
|
||||
|
||||
// 关盖子
|
||||
yield return gearSystem.CloseGearPanel();
|
||||
yield return gearSystem.CloseCover();
|
||||
// 相机返回
|
||||
yield return CameraKit.Instance.ReturnInitCamera(Duration).WaitForCompletion();
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
public void SetArgs(string arg)
|
||||
{
|
||||
// 没有参数
|
||||
}
|
||||
}
|
||||
|
||||
public struct BodyModuleToGearCommand : ITransitionCommand
|
||||
{
|
||||
private static readonly Vector3 CameraPos = new(-1.09f, -0.07f, -10);
|
||||
private const float OrthographicSize = 1.6f;
|
||||
private const float Duration = 2f;
|
||||
|
||||
private string _configKey;
|
||||
|
||||
public IEnumerator Execute()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
var gearSystem = FixSystemCenter.SystemDic.Get<GearSystem>();
|
||||
|
||||
// 插头回到初始插孔
|
||||
bodyModuleSystem.ResetPlug();
|
||||
// 相机聚焦到目标位
|
||||
yield return CameraKit.Instance.TransCamera(CameraPos, OrthographicSize, Duration).WaitForCompletion();
|
||||
if (!string.IsNullOrEmpty(_configKey))
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
gearSystem.CurDataKey = _configKey;
|
||||
gearSystem.Load();
|
||||
}
|
||||
|
||||
// 打开引擎盖子
|
||||
yield return gearSystem.OpenCover();
|
||||
yield return gearSystem.OpenGearPanel();
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
{
|
||||
_configKey = arg.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
public struct GearToClinicCommand : ITransitionCommand
|
||||
{
|
||||
private const float FadeDuration = 0.5f;
|
||||
|
||||
public IEnumerator Execute()
|
||||
{
|
||||
var clinicSystem = FixSystemCenter.SystemDic.Get<ClinicSystem>();
|
||||
var gearSystem = FixSystemCenter.SystemDic.Get<GearSystem>();
|
||||
|
||||
// 盖上盖子
|
||||
yield return gearSystem.CloseGearPanel();
|
||||
yield return gearSystem.CloseCover();
|
||||
// 黑屏
|
||||
yield return MainUIController.Instance.FadeInSync(FadeDuration);
|
||||
// 相机归位
|
||||
CameraKit.Instance.ResetCamara();
|
||||
// 打开诊所
|
||||
clinicSystem.gameObject.SetActive(true);
|
||||
// 黑屏淡出
|
||||
yield return MainUIController.Instance.FadeOutSync(FadeDuration);
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
{
|
||||
// 没有参数
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ae4ece844a9a417687bd443b4cdf7820
|
||||
timeCreated: 1735242780
|
||||
guid: 31019d1b228d41eeb89a89fa9d9dd7e4
|
||||
timeCreated: 1735296030
|
||||
@@ -51,13 +51,13 @@ namespace AibisDream.FixSystem
|
||||
var clinicSystem = FixSystemCenter.SystemDic.Get<ClinicSystem>();
|
||||
var engineSystem = FixSystemCenter.SystemDic.Get<EngineSystem>();
|
||||
|
||||
// // 黑屏
|
||||
// 黑屏
|
||||
yield return MainUIController.Instance.FadeInSync(FadeDuration);
|
||||
// 隐藏诊所
|
||||
clinicSystem.gameObject.SetActive(false);
|
||||
// 激活插线系统
|
||||
bodyModuleSystem.gameObject.SetActive(true);
|
||||
// // 黑屏淡出
|
||||
// 黑屏淡出
|
||||
yield return MainUIController.Instance.FadeOutSync(FadeDuration);
|
||||
// 移动相机
|
||||
yield return CameraKit.Instance.TransCameraAsync(CameraPos, OrthographicSize, Duration);
|
||||
@@ -117,4 +117,48 @@ namespace AibisDream.FixSystem
|
||||
// 没有需要设置的
|
||||
}
|
||||
}
|
||||
|
||||
public struct ClinicToGearCommand : ITransitionCommand
|
||||
{
|
||||
private const float FadeDuration = 0.5f;
|
||||
|
||||
// 引擎相机设置
|
||||
private static readonly Vector3 CameraPos = new(-1.09f, -0.07f, -10);
|
||||
private const float OrthographicSize = 1.6f;
|
||||
private const float Duration = 2f;
|
||||
|
||||
private string _configName;
|
||||
|
||||
public IEnumerator Execute()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
var clinicSystem = FixSystemCenter.SystemDic.Get<ClinicSystem>();
|
||||
var gearSystem = FixSystemCenter.SystemDic.Get<GearSystem>();
|
||||
|
||||
// 黑屏
|
||||
// yield return MainUIController.Instance.FadeInSync(FadeDuration);
|
||||
// 隐藏诊所
|
||||
clinicSystem.gameObject.SetActive(false);
|
||||
// 激活插线系统
|
||||
bodyModuleSystem.gameObject.SetActive(true);
|
||||
// 黑屏淡出
|
||||
// yield return MainUIController.Instance.FadeOutSync(FadeDuration);
|
||||
// 移动相机
|
||||
yield return CameraKit.Instance.TransCameraAsync(CameraPos, OrthographicSize, Duration);
|
||||
// 开启引擎玩法
|
||||
if (!string.IsNullOrEmpty(_configName))
|
||||
{
|
||||
gearSystem.CurDataKey = _configName;
|
||||
gearSystem.Load();
|
||||
}
|
||||
|
||||
yield return gearSystem.OpenCover();
|
||||
yield return gearSystem.OpenGearPanel();
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
{
|
||||
_configName = arg.Trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49,8 +49,7 @@ namespace AibisDream.Framework
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.K))
|
||||
{
|
||||
MonoCenter.Mono.StartCoroutine(FixSystemCenter.SystemDic.Get<CoolingSystem>().OpenCoolingSystem());
|
||||
MonoCenter.Mono.StartCoroutine(FixSystemCenter.SystemDic.Get<CoolingSystem>().OpenBottleUI());
|
||||
MonoCenter.Mono.StartCoroutine(FixSystemYarnCommand.SwitchFixSystemTo("Gear"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,15 +10,13 @@ namespace AibisDream
|
||||
[SerializeField] private int curLevel;
|
||||
|
||||
[SerializeField] private float heightY;
|
||||
|
||||
private Vector3 _offset;
|
||||
[SerializeField] private float minY;
|
||||
|
||||
public bool IsBlock { get; }
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_engineSystem = transform.parent.GetComponent<EngineSystem>();
|
||||
_offset = transform.position;
|
||||
}
|
||||
|
||||
public void StartMove()
|
||||
@@ -35,13 +33,13 @@ namespace AibisDream
|
||||
private void UpdateTransform()
|
||||
{
|
||||
float levelHeight = heightY / (_engineSystem.config.maxLevel - 1);
|
||||
var curY = levelHeight * curLevel + _offset.y;
|
||||
var curY = levelHeight * curLevel + minY;
|
||||
transform.position = new Vector3(transform.position.x, curY, transform.position.z);
|
||||
}
|
||||
|
||||
private void SwitchAirLevel(float mouseY)
|
||||
{
|
||||
mouseY -= _offset.y;
|
||||
mouseY -= minY;
|
||||
|
||||
float levelHeight = heightY / _engineSystem.config.maxLevel;
|
||||
curLevel = (int)(mouseY / levelHeight);
|
||||
|
||||
@@ -35,9 +35,10 @@ namespace AibisDream
|
||||
_cover = transform.Find("Cover").GetComponent<SpriteRenderer>();
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
private void Start()
|
||||
{
|
||||
engineData = new EngineData(config.invalidTime);
|
||||
DialogController.Instance?.SetVariable("$curAirLevel", 2);
|
||||
}
|
||||
|
||||
private void Update()
|
||||
@@ -179,7 +180,7 @@ namespace AibisDream
|
||||
|
||||
config = data;
|
||||
// 重置Data
|
||||
OnEnable();
|
||||
Start();
|
||||
}
|
||||
|
||||
public override void Save()
|
||||
@@ -275,8 +276,8 @@ namespace AibisDream
|
||||
if (inAirRange && !curInAirRange && !isSuccess)
|
||||
{
|
||||
// 出界的话
|
||||
if (curAir > curAirMax) DialogController.Instance.StartDialogNode("调速popup-过速");
|
||||
if (curAir < curAirMin) DialogController.Instance.StartDialogNode("调速popup-掉速");
|
||||
if (curAir > curAirMax) DialogController.Instance?.StartDialogNode("引擎过速");
|
||||
if (curAir < curAirMin) DialogController.Instance?.StartDialogNode("引擎掉速");
|
||||
|
||||
isValid.Value = false;
|
||||
}
|
||||
|
||||
@@ -7,15 +7,26 @@ namespace AibisDream
|
||||
{
|
||||
public class Gear : MonoBehaviour, IMoveable
|
||||
{
|
||||
[SerializeField] public float radius;
|
||||
[SerializeField] public Sprite gearSprite;
|
||||
|
||||
private const int ShakeAngle = 15;
|
||||
|
||||
public float radius;
|
||||
public Sprite gearSprite;
|
||||
public bool isBroken;
|
||||
public bool isDisc;
|
||||
|
||||
public float speed;
|
||||
private Tweener _rotationTweener;
|
||||
|
||||
#region 引用
|
||||
|
||||
private GearSystem _gearSystem;
|
||||
private CircleCollider2D _circleCollider;
|
||||
private SpriteRenderer _spriteRenderer;
|
||||
|
||||
#endregion
|
||||
|
||||
public Shaft targetShaft;
|
||||
|
||||
|
||||
public bool IsBlock { get; }
|
||||
|
||||
private void Awake()
|
||||
@@ -34,7 +45,7 @@ namespace AibisDream
|
||||
/// <summary>
|
||||
/// 设置齿轮信息
|
||||
/// </summary>
|
||||
public void InitGearModel()
|
||||
private void InitGearModel()
|
||||
{
|
||||
// 给齿轮赋值
|
||||
_spriteRenderer.sprite = gearSprite;
|
||||
@@ -43,6 +54,39 @@ namespace AibisDream
|
||||
_spriteRenderer.size = new Vector2(radius * 2, radius * 2);
|
||||
}
|
||||
|
||||
public void UpdateRotation(float newSpeed, float speedScale)
|
||||
{
|
||||
// 初始化速度
|
||||
speed = Mathf.Abs(newSpeed);
|
||||
var target = newSpeed >= 0 ? new Vector3(0, 0, 360) : new Vector3(0, 0, -360);
|
||||
|
||||
_rotationTweener?.Kill();
|
||||
// 打开动画
|
||||
if (isBroken)
|
||||
{
|
||||
_rotationTweener = transform.DORotate(new Vector3(0, 0, ShakeAngle), ShakeAngle / speed / 360,
|
||||
RotateMode.LocalAxisAdd)
|
||||
.SetEase(Ease.Linear)
|
||||
.SetLoops(-1, LoopType.Yoyo)
|
||||
.SetDelay(0.1f);
|
||||
}
|
||||
else
|
||||
{
|
||||
_rotationTweener = transform.DORotate(target, 1 / Mathf.Abs(speed), RotateMode.LocalAxisAdd)
|
||||
.SetEase(Ease.Linear)
|
||||
.SetLoops(-1, LoopType.Incremental);
|
||||
}
|
||||
|
||||
_rotationTweener.timeScale = speedScale;
|
||||
}
|
||||
|
||||
public void UpdateSpeedScale(float speedScale)
|
||||
{
|
||||
_rotationTweener.timeScale = speedScale;
|
||||
}
|
||||
|
||||
#region 移动相关
|
||||
|
||||
public void StartMove()
|
||||
{
|
||||
targetShaft?.PlugOutGear();
|
||||
@@ -69,6 +113,7 @@ namespace AibisDream
|
||||
targetShaft = tempShaft;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,7 @@ using AibisDream.FixSystem;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Kit;
|
||||
using DG.Tweening;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
@@ -13,15 +14,29 @@ namespace AibisDream
|
||||
{
|
||||
#region 索引
|
||||
|
||||
[SerializeField] private GameObject gearPrefab;
|
||||
[SerializeField] private GameObject shaftPrefab;
|
||||
private Shaft[] _shafts;
|
||||
public GameObject gearPrefab;
|
||||
public GameObject shaftPrefab;
|
||||
private Transform _panel;
|
||||
private SpriteRenderer _cover;
|
||||
private Transform _coverStick;
|
||||
private Transform _needle;
|
||||
|
||||
private ShaftGraph _shaftGraph;
|
||||
|
||||
#endregion
|
||||
|
||||
private ShaftGraph _shaftGraph;
|
||||
public Vector3 coverUpPos;
|
||||
public Vector3 coverDownPos;
|
||||
|
||||
public Vector3 panelOpenPos;
|
||||
public Vector3 panelClosePos;
|
||||
|
||||
public Vector3 needleEmptyPos;
|
||||
public Vector3[] needlePosArr;
|
||||
public float needleDuration;
|
||||
|
||||
private bool _isTargetReached;
|
||||
private bool _isDiscReady;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -33,18 +48,20 @@ namespace AibisDream
|
||||
public void Init()
|
||||
{
|
||||
FixSystemCenter.SystemDic.Register(this);
|
||||
_shafts = GetComponentsInChildren<Shaft>();
|
||||
|
||||
_cover = transform.Find("Cover").GetComponent<SpriteRenderer>();
|
||||
_coverStick = transform.Find("Cover Stick");
|
||||
_panel = transform.Find("Empty Shafts Panel");
|
||||
_needle = transform.Find("Needle");
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (_shafts != null && _shafts.Length != 0)
|
||||
{
|
||||
_shaftGraph = new ShaftGraph(_shafts);
|
||||
}
|
||||
_shaftGraph?.Clear();
|
||||
var shafts = transform.Find("Shafts").GetComponentsInChildren<Shaft>();
|
||||
var panelShafts = _panel.GetComponentsInChildren<Shaft>();
|
||||
_shaftGraph = new ShaftGraph(shafts, panelShafts);
|
||||
|
||||
_panel.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -71,23 +88,6 @@ namespace AibisDream
|
||||
return _shaftGraph.CheckGearSuitable(sourceShaft, gearRadius);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 生成齿轮
|
||||
/// </summary>
|
||||
/// <param name="pos">位置</param>
|
||||
/// <param name="radius">半径</param>
|
||||
/// <param name="sprite">齿轮图片</param>
|
||||
/// <returns>齿轮Obj</returns>
|
||||
public GameObject InitGear(Vector3 pos, float radius, Sprite sprite)
|
||||
{
|
||||
GameObject gearObj = Instantiate(gearPrefab, pos, Quaternion.identity);
|
||||
gearObj.transform.parent = transform.Find("Gears").transform;
|
||||
Gear gear = gearObj.GetComponent<Gear>();
|
||||
gear.radius = radius;
|
||||
gear.gearSprite = sprite;
|
||||
return gearObj;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 某个轴上齿轮发生变化时更新临接关系
|
||||
/// </summary>
|
||||
@@ -97,31 +97,80 @@ namespace AibisDream
|
||||
_shaftGraph?.ChangeVertex(shaftId);
|
||||
}
|
||||
|
||||
public void Succeed()
|
||||
#region 胜利状况判断
|
||||
|
||||
public void CheckGearSystemState()
|
||||
{
|
||||
Debug.Log("达成目标");
|
||||
DialogController.Instance.StartDialogNode("齿轮系统状态变化");
|
||||
}
|
||||
|
||||
public void ReachTargetSpeed()
|
||||
{
|
||||
if (!_isTargetReached)
|
||||
{
|
||||
DialogController.Instance?.SetVariable("$speedReached", true);
|
||||
_isTargetReached = true;
|
||||
}
|
||||
}
|
||||
|
||||
public void ResetTargetState()
|
||||
{
|
||||
if (_isTargetReached)
|
||||
{
|
||||
DialogController.Instance?.SetVariable("$speedReached", false);
|
||||
_isTargetReached = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public IEnumerator OpenCover()
|
||||
{
|
||||
// 滑杆旋转
|
||||
yield return _coverStick.DORotate(new Vector3(0, 0, -90f), 1f).WaitForCompletion();
|
||||
// 盖子移动
|
||||
// 旋转拉杆
|
||||
yield return _coverStick.DORotate(new Vector3(0, 0, -90), 1.5f).WaitForCompletion();
|
||||
// 开盖
|
||||
var sq = DOTween.Sequence();
|
||||
sq.Join(_cover.transform.DOLocalMove(new Vector3(-1.86f, 2.11f, 0), 1f));
|
||||
sq.Join(_cover.DOFade(0, 1f));
|
||||
sq.Join(_cover.transform.DOLocalMove(coverUpPos, 1.5f));
|
||||
sq.Join(_cover.DOFade(0, 1.5f));
|
||||
yield return sq.WaitForCompletion();
|
||||
}
|
||||
|
||||
public IEnumerator CloseCover()
|
||||
{
|
||||
// 盖子移动
|
||||
// 关盖
|
||||
var sq = DOTween.Sequence();
|
||||
sq.Join(_cover.transform.DOLocalMove(new Vector3(-1.86f, -0.38f, 0), 1f));
|
||||
sq.Join(_cover.DOFade(0, 1f));
|
||||
sq.Join(_cover.transform.DOLocalMove(coverDownPos, 1.5f));
|
||||
sq.Join(_cover.DOFade(1, 1.5f));
|
||||
yield return sq.WaitForCompletion();
|
||||
// 滑杆旋转
|
||||
yield return _coverStick.DORotate(new Vector3(0, 0, 0), 1f).WaitForCompletion();
|
||||
// 旋转拉杆
|
||||
yield return _coverStick.DORotate(new Vector3(0, 0, 0), 1.5f).WaitForCompletion();
|
||||
}
|
||||
|
||||
public IEnumerator OpenGearPanel()
|
||||
{
|
||||
_panel.gameObject.SetActive(true);
|
||||
yield return _panel.DOLocalMove(panelOpenPos, 1f).WaitForCompletion();
|
||||
}
|
||||
|
||||
public IEnumerator CloseGearPanel()
|
||||
{
|
||||
yield return _panel.DOLocalMove(panelClosePos, 1f).WaitForCompletion();
|
||||
_panel.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
public IEnumerator MoveNeedle(int discIdx)
|
||||
{
|
||||
Vector3 target;
|
||||
if (discIdx > needlePosArr.Length || discIdx <= 0)
|
||||
{
|
||||
target = needleEmptyPos;
|
||||
}
|
||||
else
|
||||
{
|
||||
target = needlePosArr[discIdx - 1];
|
||||
}
|
||||
|
||||
yield return _needle.DORotate(target, needleDuration).WaitForCompletion();
|
||||
}
|
||||
|
||||
#region 数据保存与加载
|
||||
@@ -163,23 +212,51 @@ namespace AibisDream
|
||||
private void LoadByData(GearSystemData gearSystemData)
|
||||
{
|
||||
// 先清除
|
||||
var shaftRoot = transform.Find("Shafts");
|
||||
var shaftsObj = shaftRoot.GetComponentsInChildren<Shaft>();
|
||||
var shaftsObj = GetComponentsInChildren<Shaft>(true);
|
||||
foreach (var oldShaft in shaftsObj)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
DestroyImmediate(oldShaft.gameObject);
|
||||
if (!EditorApplication.isPlaying)
|
||||
{
|
||||
DestroyImmediate(oldShaft.gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
Destroy(oldShaft.gameObject);
|
||||
}
|
||||
#else
|
||||
Destory(oldShaft.gameObject);
|
||||
Destroy(oldShaft.gameObject);
|
||||
#endif
|
||||
}
|
||||
|
||||
// 再添加
|
||||
foreach (var shaftData in gearSystemData.shaftLevelDataArray)
|
||||
var shaftRoot = transform.Find("Shafts");
|
||||
var shafts = new Shaft[gearSystemData.shaftLevelDataArray.Length];
|
||||
for (int i = 0; i < gearSystemData.shaftLevelDataArray.Length; i++)
|
||||
{
|
||||
var newShaft = Instantiate(shaftPrefab, shaftRoot).GetComponent<Shaft>();
|
||||
newShaft.Load(shaftData);
|
||||
newShaft.Load(gearSystemData.shaftLevelDataArray[i]);
|
||||
shafts[i] = newShaft;
|
||||
}
|
||||
|
||||
var panelShaftRoot = transform.Find("Empty Shafts Panel");
|
||||
var panelShafts = new Shaft[gearSystemData.panelShaftArray.Length];
|
||||
for (int i = 0; i < gearSystemData.panelShaftArray.Length; i++)
|
||||
{
|
||||
var newShaft = Instantiate(shaftPrefab, panelShaftRoot).GetComponent<Shaft>();
|
||||
newShaft.Load(gearSystemData.panelShaftArray[i]);
|
||||
panelShafts[i] = newShaft;
|
||||
}
|
||||
|
||||
_cover = transform.Find("Cover").GetComponent<SpriteRenderer>();
|
||||
_coverStick = transform.Find("Cover Stick");
|
||||
_panel = transform.Find("Empty Shafts Panel");
|
||||
|
||||
#if UNITY_EDITOR
|
||||
if (!EditorApplication.isPlaying) return;
|
||||
#endif
|
||||
_shaftGraph?.Clear();
|
||||
_shaftGraph = new ShaftGraph(shafts, panelShafts);
|
||||
}
|
||||
|
||||
public override void Save()
|
||||
@@ -196,17 +273,19 @@ namespace AibisDream
|
||||
|
||||
private void SaveByKey(string key)
|
||||
{
|
||||
var shaftsObj = transform.Find("Shafts").GetComponentsInChildren<Shaft>();
|
||||
var shaftDataArray = new ShaftLevelData[shaftsObj.Length];
|
||||
|
||||
for (int i = 0; i < shaftDataArray.Length; i++)
|
||||
{
|
||||
shaftDataArray[i] = shaftsObj[i].Save();
|
||||
}
|
||||
var shaftDataArray = transform.Find("Shafts")
|
||||
.GetComponentsInChildren<Shaft>()
|
||||
.Select(shaft => shaft.Save())
|
||||
.ToArray();
|
||||
var panelShaftArray = transform.Find("Empty Shafts Panel")
|
||||
.GetComponentsInChildren<Shaft>()
|
||||
.Select(shaft => shaft.Save())
|
||||
.ToArray();
|
||||
|
||||
var data = new GearSystemData
|
||||
{
|
||||
shaftLevelDataArray = shaftDataArray
|
||||
shaftLevelDataArray = shaftDataArray,
|
||||
panelShaftArray = panelShaftArray
|
||||
};
|
||||
|
||||
ConfigUtil.Instance.SaveConfig(data, DataPath + key);
|
||||
@@ -225,5 +304,6 @@ namespace AibisDream
|
||||
public struct GearSystemData
|
||||
{
|
||||
public ShaftLevelData[] shaftLevelDataArray;
|
||||
public ShaftLevelData[] panelShaftArray;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System.Collections;
|
||||
using AibisDream.FixSystem;
|
||||
using UnityEngine;
|
||||
using Yarn.Unity;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
public static class GearYarnCommand
|
||||
{
|
||||
[YarnCommand("move_needle")]
|
||||
public static IEnumerator MoveNeedle()
|
||||
{
|
||||
DialogController.Instance.TryGetVariable<float>("$discIdx", out var discIdx);
|
||||
Debug.Log(discIdx);
|
||||
return FixSystemCenter.SystemDic.Get<GearSystem>().MoveNeedle((int) discIdx);
|
||||
}
|
||||
|
||||
[YarnCommand("open_gear_panel")]
|
||||
public static IEnumerator OpenGearPanel()
|
||||
{
|
||||
return FixSystemCenter.SystemDic.Get<GearSystem>().OpenGearPanel();
|
||||
}
|
||||
|
||||
[YarnCommand("close_gear_panel")]
|
||||
public static IEnumerator CloseGearPanel()
|
||||
{
|
||||
return FixSystemCenter.SystemDic.Get<GearSystem>().CloseGearPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 73b9ebccdc5e4c12be4c93d3e0a71e52
|
||||
timeCreated: 1735397288
|
||||
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Utility;
|
||||
using DG.Tweening;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
@@ -14,11 +13,14 @@ namespace AibisDream
|
||||
[SerializeField] public ShaftType shaftType;
|
||||
|
||||
// 初始齿轮
|
||||
[SerializeField] private bool hasGear;
|
||||
[SerializeField] private bool isInitGearBroken;
|
||||
[SerializeField] private bool isInitGearDisc;
|
||||
[SerializeField] private float initRadius;
|
||||
[SerializeField] private Sprite initSprite;
|
||||
[SerializeField] private bool hasGear;
|
||||
[SerializeField] private int discIdx;
|
||||
|
||||
[SerializeField] private GameObject childGear;
|
||||
[SerializeField] private Gear childGear;
|
||||
|
||||
// 初始角速度
|
||||
[SerializeField] private float initialSpeed;
|
||||
@@ -28,8 +30,10 @@ namespace AibisDream
|
||||
|
||||
// 当前角速度
|
||||
public float speed;
|
||||
private float _speedScale = 1;
|
||||
|
||||
public bool IsPluggable => shaftType is ShaftType.Pluggable or ShaftType.Driver or ShaftType.Target;
|
||||
public bool IsBroken => childGear != null && childGear.isBroken;
|
||||
public bool IsDisc => childGear != null && childGear.isDisc;
|
||||
|
||||
/// <summary>
|
||||
/// 当前齿轮半径
|
||||
@@ -43,13 +47,7 @@ namespace AibisDream
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (IsPluggable)
|
||||
{
|
||||
Gear gear = childGear.GetComponent<Gear>();
|
||||
return gear.radius;
|
||||
}
|
||||
|
||||
return initRadius;
|
||||
return childGear.radius;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,63 +63,73 @@ namespace AibisDream
|
||||
/// </summary>
|
||||
public void InitShaft()
|
||||
{
|
||||
_gearSystem = transform.parent.parent.GetComponent<GearSystem>();
|
||||
// 如果不带齿轮
|
||||
if (!hasGear) return;
|
||||
|
||||
// 如果带齿轮,要根据齿轮类型生成
|
||||
childGear = IsPluggable ? InitPluggableGear() : InitStaticGear();
|
||||
childGear = InitGear(initRadius, initSprite, isInitGearBroken, isInitGearDisc);
|
||||
|
||||
speed = initialSpeed;
|
||||
UpdateSpeed();
|
||||
childGear.UpdateRotation(speed, _speedScale);
|
||||
}
|
||||
|
||||
private GameObject InitStaticGear()
|
||||
private Gear InitGear(float radius, Sprite sprite, bool isBroken = false, bool isDisc = false)
|
||||
{
|
||||
GameObject staticGear = transform.GetChild(0).gameObject;
|
||||
|
||||
// 添加齿轮图片
|
||||
staticGear.SetActive(true);
|
||||
var staticGearRenderer = staticGear.GetComponent<SpriteRenderer>();
|
||||
staticGearRenderer.sprite = initSprite;
|
||||
staticGearRenderer.size = new Vector2(initRadius * 2, initRadius * 2);
|
||||
|
||||
// 如果有初速,就要开始转动了
|
||||
if (!CommonUtil.IsZero(initialSpeed))
|
||||
{
|
||||
staticGear.transform.DORotate(new Vector3(0, 0, 360), 1 / initialSpeed, RotateMode.LocalAxisAdd)
|
||||
.SetEase(Ease.Linear).SetLoops(-1, LoopType.Incremental);
|
||||
}
|
||||
|
||||
return staticGear;
|
||||
}
|
||||
|
||||
private GameObject InitPluggableGear()
|
||||
{
|
||||
var gear = _gearSystem.InitGear(transform.position, initRadius, initSprite);
|
||||
gear.GetComponent<Gear>().targetShaft = this;
|
||||
var gear = Instantiate(_gearSystem.gearPrefab, transform).GetComponent<Gear>();
|
||||
gear.radius = radius;
|
||||
gear.gearSprite = sprite;
|
||||
gear.isBroken = isBroken;
|
||||
gear.targetShaft = this;
|
||||
gear.isDisc = isDisc;
|
||||
return gear;
|
||||
}
|
||||
|
||||
public void PlugInGear(Gear gear)
|
||||
{
|
||||
childGear = gear.gameObject;
|
||||
childGear = gear;
|
||||
gear.transform.parent = transform;
|
||||
_gearSystem.ChangeGraphVertex(GetInstanceID());
|
||||
// 面板里的齿轮才能触发
|
||||
if (transform.parent.name == "Shafts")
|
||||
{
|
||||
OnGearPlugIn();
|
||||
_gearSystem.CheckGearSystemState();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnGearPlugIn()
|
||||
{
|
||||
// 破损齿轮插进来就发一次事件,交给yarn处理
|
||||
if (IsBroken)
|
||||
{
|
||||
DialogController.Instance?.StartDialogNode("破损齿轮插入");
|
||||
}
|
||||
|
||||
if (IsDisc)
|
||||
{
|
||||
DialogController.Instance?.SetVariable("$discIdx", discIdx);
|
||||
}
|
||||
}
|
||||
|
||||
public void PlugOutGear()
|
||||
{
|
||||
// 拔出时齿轮停转
|
||||
childGear.UpdateRotation(0, _speedScale);
|
||||
|
||||
childGear.transform.parent = null;
|
||||
childGear = null;
|
||||
_gearSystem.ChangeGraphVertex(GetInstanceID());
|
||||
}
|
||||
|
||||
public void UpdateSpeed()
|
||||
public void ChangeRotateState()
|
||||
{
|
||||
UpdateSpeedAnima();
|
||||
CheckGameState();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 速度修改后改变动画
|
||||
/// 速度修改后改变动画(可能改变方向)
|
||||
/// </summary>
|
||||
private void UpdateSpeedAnima()
|
||||
{
|
||||
@@ -131,34 +139,30 @@ namespace AibisDream
|
||||
return;
|
||||
}
|
||||
|
||||
if (CommonUtil.IsZero(speed))
|
||||
{
|
||||
childGear.transform.DOPause();
|
||||
return;
|
||||
}
|
||||
childGear.UpdateRotation(speed, _speedScale);
|
||||
}
|
||||
|
||||
// 更新动画
|
||||
childGear.transform.DOKill();
|
||||
if (speed > 0)
|
||||
{
|
||||
childGear.transform.DORotate(new Vector3(0, 0, 360), 1 / speed, RotateMode.LocalAxisAdd)
|
||||
.SetEase(Ease.Linear).SetLoops(-1, LoopType.Incremental);
|
||||
}
|
||||
else
|
||||
{
|
||||
childGear.transform.DORotate(new Vector3(0, 0, -360), 1 / -speed, RotateMode.LocalAxisAdd)
|
||||
.SetEase(Ease.Linear).SetLoops(-1, LoopType.Incremental);
|
||||
}
|
||||
public void UpdateSpeedScale(float newSpeedScale)
|
||||
{
|
||||
_speedScale = newSpeedScale;
|
||||
if (!HasChildGear()) return;
|
||||
childGear.UpdateSpeedScale(_speedScale);
|
||||
CheckGameState();
|
||||
}
|
||||
|
||||
private void CheckGameState()
|
||||
{
|
||||
if (shaftType == ShaftType.Target)
|
||||
// 只有目标轴判断
|
||||
if (shaftType != ShaftType.Target) return;
|
||||
|
||||
//
|
||||
if (targetSpeed <= Mathf.Abs(speed * _speedScale))
|
||||
{
|
||||
if (targetSpeed <= Mathf.Abs(speed))
|
||||
{
|
||||
_gearSystem.Succeed();
|
||||
}
|
||||
_gearSystem.ReachTargetSpeed();
|
||||
}
|
||||
else
|
||||
{
|
||||
_gearSystem.ResetTargetState();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,6 +230,16 @@ namespace AibisDream
|
||||
return shaft1.GearRadius / shaft2.GearRadius;
|
||||
}
|
||||
|
||||
public void OnDestroy()
|
||||
{
|
||||
if (childGear != null)
|
||||
{
|
||||
childGear.transform.DOKill();
|
||||
}
|
||||
Destroy(childGear);
|
||||
Destroy(gameObject);
|
||||
}
|
||||
|
||||
public void OnDrawGizmos()
|
||||
{
|
||||
Gizmos.color = Color.red;
|
||||
@@ -240,9 +254,12 @@ namespace AibisDream
|
||||
gameObject.name = levelData.shaftName;
|
||||
transform.localPosition = levelData.ShaftPos;
|
||||
initSprite = levelData.GearPic;
|
||||
|
||||
|
||||
shaftType = levelData.shaftType;
|
||||
hasGear = levelData.hasChildGear;
|
||||
isInitGearBroken = levelData.isGearBroken;
|
||||
isInitGearDisc = levelData.isDisc;
|
||||
discIdx = levelData.discIdx;
|
||||
initialSpeed = levelData.initialSpeed;
|
||||
targetSpeed = levelData.targetSpeed;
|
||||
initRadius = levelData.radius;
|
||||
@@ -257,6 +274,9 @@ namespace AibisDream
|
||||
GearPic = initSprite,
|
||||
shaftType = shaftType,
|
||||
hasChildGear = hasGear,
|
||||
isGearBroken = isInitGearBroken,
|
||||
isDisc = isInitGearDisc,
|
||||
discIdx = discIdx,
|
||||
initialSpeed = initialSpeed,
|
||||
targetSpeed = targetSpeed,
|
||||
radius = initRadius
|
||||
@@ -270,22 +290,23 @@ namespace AibisDream
|
||||
{
|
||||
Driver, // 拥有初始速度,没有目标速度,全局仅有一个
|
||||
Target, // 没有初始速度,有目标速度,全局有多个
|
||||
Constant, // 没有初始速度,没有目标速度,不可拖动
|
||||
Pluggable // 没有初始速度,没有目标速度,可拔插
|
||||
}
|
||||
|
||||
|
||||
[Serializable]
|
||||
public struct ShaftLevelData
|
||||
{
|
||||
public string shaftName;
|
||||
|
||||
// 关卡数据
|
||||
public ShaftType shaftType;
|
||||
public float initialSpeed;
|
||||
public float targetSpeed;
|
||||
public bool hasChildGear;
|
||||
public float radius;
|
||||
public float isGearBroken;
|
||||
public float brokenAngle;
|
||||
public bool isGearBroken;
|
||||
public bool isDisc;
|
||||
public int discIdx;
|
||||
|
||||
// 外形数据
|
||||
public SerializableVector3 shaftPos;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using AibisDream.FixSystem;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
@@ -9,6 +11,7 @@ namespace AibisDream
|
||||
private readonly int _vertexSize;
|
||||
// 顶点Map
|
||||
private readonly Shaft[] _vertexArray;
|
||||
private readonly Shaft[] _panelShafts;
|
||||
// 邻接表
|
||||
private float[,] _edgeTable;
|
||||
// 遍历记录
|
||||
@@ -16,24 +19,32 @@ namespace AibisDream
|
||||
// 动力轴序号
|
||||
private readonly int _rootIdx;
|
||||
|
||||
public ShaftGraph(Shaft[] shafts)
|
||||
public ShaftGraph(Shaft[] shafts, Shaft[] panelShafts)
|
||||
{
|
||||
// 为轴赋值
|
||||
_vertexSize = shafts.Length;
|
||||
_vertexRecordArray = new bool[_vertexSize];
|
||||
_vertexArray = shafts;
|
||||
_panelShafts = panelShafts;
|
||||
foreach (var shaft in _vertexArray)
|
||||
{
|
||||
shaft.InitShaft();
|
||||
}
|
||||
foreach (var shaft in _panelShafts)
|
||||
{
|
||||
shaft.InitShaft();
|
||||
}
|
||||
|
||||
// 寻找唯一的驱动轴序号
|
||||
_rootIdx = FindDriverIdx();
|
||||
|
||||
|
||||
// 生成边邻接表
|
||||
GeneEdgeTable();
|
||||
|
||||
UpdateSpeed();
|
||||
|
||||
var engine = FixSystemCenter.SystemDic.Get<EngineSystem>();
|
||||
engine.UpdateDashboard += Accelerate;
|
||||
}
|
||||
|
||||
private int FindDriverIdx()
|
||||
@@ -83,6 +94,7 @@ namespace AibisDream
|
||||
{
|
||||
// 找到对应idx
|
||||
int idx = TranInstanceIDToIdx(instanceID);
|
||||
if (idx == -1) return;
|
||||
|
||||
// 更新该节点对应的邻接表
|
||||
for (int i = 0; i < _vertexSize; i++)
|
||||
@@ -128,7 +140,7 @@ namespace AibisDream
|
||||
/// <summary>
|
||||
/// 更新当前所有轴的速度
|
||||
/// </summary>
|
||||
public void UpdateSpeed()
|
||||
private void UpdateSpeed()
|
||||
{
|
||||
// 清除遍历记录
|
||||
Array.Clear(_vertexRecordArray, 0, _vertexSize);
|
||||
@@ -140,7 +152,7 @@ namespace AibisDream
|
||||
// 更新完速度后统一更新动画
|
||||
foreach (var shaft in _vertexArray)
|
||||
{
|
||||
shaft.UpdateSpeed();
|
||||
shaft.ChangeRotateState();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,8 +177,11 @@ namespace AibisDream
|
||||
|
||||
// 已遍历的轴加上标记
|
||||
_vertexRecordArray[i] = true;
|
||||
// 继续寻找相邻齿轮
|
||||
UpdateShaftSpeedByIdx(i);
|
||||
// 如果当前齿轮未破碎,继续更新相邻齿轮
|
||||
if (!_vertexArray[i].IsBroken)
|
||||
{
|
||||
UpdateShaftSpeedByIdx(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -199,9 +214,11 @@ namespace AibisDream
|
||||
// 查询距离最近的,可吸附的Shaft
|
||||
Shaft closestShaft = null;
|
||||
float minDistance = -1;
|
||||
foreach (var vertex in _vertexArray)
|
||||
|
||||
var totalArray = _vertexArray.Concat(_panelShafts);
|
||||
foreach (var vertex in totalArray)
|
||||
{
|
||||
if (vertex.IsPluggable && !vertex.HasChildGear())
|
||||
if (!vertex.HasChildGear())
|
||||
{
|
||||
float tempDis = Vector3.Distance(vertex.transform.position, pos);
|
||||
if (minDistance < 0 || tempDis < minDistance)
|
||||
@@ -239,7 +256,7 @@ namespace AibisDream
|
||||
{
|
||||
if (i == idx) continue; // 不需要计算和自身的关系
|
||||
float availableDis = Shaft.CalcShaftAvailableDis(sourceShaft.transform.position, _vertexArray[i]);
|
||||
if (availableDis < gearRadius - 0.15f)
|
||||
if (availableDis < gearRadius - 0.05f)
|
||||
{
|
||||
isShaftAvailable = false;
|
||||
break;
|
||||
@@ -249,10 +266,22 @@ namespace AibisDream
|
||||
return isShaftAvailable;
|
||||
}
|
||||
|
||||
|
||||
public void AddDriverSpeed(float curSpeed)
|
||||
/// <summary>
|
||||
/// 通过引擎系统加速
|
||||
/// </summary>
|
||||
/// <param name="engineData"></param>
|
||||
private void Accelerate(EngineData engineData)
|
||||
{
|
||||
|
||||
foreach (var shaft in _vertexArray)
|
||||
{
|
||||
if (shaft.HasChildGear()) shaft.UpdateSpeedScale(1 + engineData.curSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
var engine = FixSystemCenter.SystemDic.Get<EngineSystem>();
|
||||
engine.UpdateDashboard -= Accelerate;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using AibisDream.FixSystem;
|
||||
|
||||
public class UFSystem : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
@@ -9,52 +10,54 @@ public class UFSystem : MonoBehaviour
|
||||
private GameObject _UFModule;
|
||||
|
||||
public GameObject UFPanel;
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
FixSystemCenter.SystemDic.Register(this);
|
||||
|
||||
}
|
||||
|
||||
public void OpenUFView()
|
||||
{
|
||||
if(!UFPanel.activeInHierarchy)
|
||||
if (!UFPanel.activeInHierarchy)
|
||||
{
|
||||
UFPanel.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void CloseUFView()
|
||||
{
|
||||
if(UFPanel.activeInHierarchy)
|
||||
if (UFPanel.activeInHierarchy)
|
||||
{
|
||||
UFPanel.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
public void OpenCover()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
_UFCover = bodyModuleSystem.FindBodyModuleByName("UF").transform.Find("Cover").gameObject;
|
||||
if(_UFCover.activeInHierarchy)
|
||||
if (_UFCover.activeInHierarchy)
|
||||
{
|
||||
_UFCover.SetActive(false);
|
||||
}
|
||||
}
|
||||
public void RemoveUF()
|
||||
|
||||
public void RemoveUF()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
_UFModule = bodyModuleSystem.FindBodyModuleByName("UF").gameObject;
|
||||
if(_UFModule.activeInHierarchy)
|
||||
if (_UFModule.activeInHierarchy)
|
||||
{
|
||||
_UFModule.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"hasHotErr":false,"moduleDataArray":[{"moduleName":"Lung","modulePicPath":"","modulePos":{"x":0.91,"y":1.84,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":1,"waveHasError":true,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"Heart","modulePicPath":"","modulePos":{"x":-3.89,"y":1.44,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"GearBox","modulePicPath":"","modulePos":{"x":-3.11,"y":0.08,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"Liver","modulePicPath":"","modulePos":{"x":1.02,"y":-3.3,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"Stomach","modulePicPath":"","modulePos":{"x":-3.77,"y":-3.81,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false}]}
|
||||
{"hasHotErr":false,"moduleDataArray":[{"moduleName":"Lung","modulePicPath":"","modulePos":{"x":0.6,"y":1.85,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":1,"waveHasError":true,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"Heart","modulePicPath":"","modulePos":{"x":-4.54,"y":0.92,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"GearBox","modulePicPath":"","modulePos":{"x":-3.259,"y":0.115,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"Liver","modulePicPath":"","modulePos":{"x":1.011,"y":-3.065,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false},{"moduleName":"Stomach","modulePicPath":"","modulePos":{"x":-3.977,"y":-3.819,"z":0.0},"socketPos":{"x":0.005,"y":-0.011,"z":0.0},"indicatorPos":{"x":0.0,"y":0.0,"z":0.0},"waveformType":0,"waveHasError":false,"ignoreWaveCheck":false,"cantStopRunning":false}]}
|
||||
@@ -1 +1,200 @@
|
||||
{"shaftLevelDataArray":[{"shaftName":"Empty Pluggable Shaft3","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.15,"shaftPos":{"x":-1.118,"y":-0.256,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Empty Pluggable Shaft2","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.15,"shaftPos":{"x":-1.087,"y":-0.693,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Empty Pluggable Shaft1","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.15,"shaftPos":{"x":-1.135,"y":0.182,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft9","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-1.71000111,"y":-0.9590002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮A"},{"shaftName":"Pluggable Shaft8","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"shaftPos":{"x":-2.59800124,"y":-0.941000164,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft7","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"shaftPos":{"x":-2.22800064,"y":-0.453000158,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft6","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-1.855001,"y":-0.3910001,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft5","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"shaftPos":{"x":-2.0,"y":-0.6250002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮A"},{"shaftName":"Pluggable Shaft4","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.27,"shaftPos":{"x":-2.18600082,"y":-0.08200007,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮A"},{"shaftName":"Pluggable Shaft3","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-1.97600079,"y":0.300000042,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft2","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"shaftPos":{"x":-1.70600092,"y":0.307999939,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft1","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-2.40600061,"y":0.295000046,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Driver Shaft","shaftType":0,"initialSpeed":1.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"shaftPos":{"x":-2.188,"y":0.445000023,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Target Shaft","shaftType":1,"initialSpeed":0.0,"targetSpeed":0.3,"hasChildGear":true,"radius":0.27,"shaftPos":{"x":-2.1600008,"y":-0.9610002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"}]}
|
||||
{
|
||||
"shaftLevelDataArray": [
|
||||
{
|
||||
"shaftName": "Empty Pluggable Shaft3",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": false,
|
||||
"radius": 0.15,
|
||||
"shaftPos": {
|
||||
"x": -1.118,
|
||||
"y": -0.256,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Empty Pluggable Shaft2",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": false,
|
||||
"radius": 0.15,
|
||||
"shaftPos": {
|
||||
"x": -1.087,
|
||||
"y": -0.693,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Empty Pluggable Shaft1",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": false,
|
||||
"radius": 0.15,
|
||||
"shaftPos": {
|
||||
"x": -1.135,
|
||||
"y": 0.182,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft9",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.18,
|
||||
"shaftPos": {
|
||||
"x": -1.71000111,
|
||||
"y": -0.9590002,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft8",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": false,
|
||||
"radius": 0.18,
|
||||
"shaftPos": {
|
||||
"x": -2.59800124,
|
||||
"y": -0.941000164,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft7",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": false,
|
||||
"radius": 0.09,
|
||||
"shaftPos": {
|
||||
"x": -2.22800064,
|
||||
"y": -0.453000158,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft6",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.18,
|
||||
"shaftPos": {
|
||||
"x": -1.855001,
|
||||
"y": -0.3910001,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft5",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.09,
|
||||
"shaftPos": {
|
||||
"x": -2.0,
|
||||
"y": -0.6250002,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft4",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.27,
|
||||
"shaftPos": {
|
||||
"x": -2.18600082,
|
||||
"y": -0.08200007,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft3",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.18,
|
||||
"shaftPos": {
|
||||
"x": -1.97600079,
|
||||
"y": 0.300000042,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft2",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": false,
|
||||
"radius": 0.09,
|
||||
"shaftPos": {
|
||||
"x": -1.70600092,
|
||||
"y": 0.307999939,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Pluggable Shaft1",
|
||||
"shaftType": 3,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.18,
|
||||
"shaftPos": {
|
||||
"x": -2.40600061,
|
||||
"y": 0.295000046,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Driver Shaft",
|
||||
"shaftType": 0,
|
||||
"initialSpeed": 1.0,
|
||||
"targetSpeed": 0.0,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.09,
|
||||
"shaftPos": {
|
||||
"x": -2.188,
|
||||
"y": 0.445000023,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
},
|
||||
{
|
||||
"shaftName": "Target Shaft",
|
||||
"shaftType": 1,
|
||||
"initialSpeed": 0.0,
|
||||
"targetSpeed": 0.3,
|
||||
"hasChildGear": true,
|
||||
"radius": 0.27,
|
||||
"shaftPos": {
|
||||
"x": -2.1600008,
|
||||
"y": -0.9610002,
|
||||
"z": 0.0
|
||||
},
|
||||
"gearPicPath": "Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"shaftLevelDataArray":[{"shaftName":"Empty Pluggable Shaft3","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.15,"shaftPos":{"x":-1.118,"y":-0.256,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Empty Pluggable Shaft2","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.15,"shaftPos":{"x":-1.087,"y":-0.693,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Empty Pluggable Shaft1","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.15,"shaftPos":{"x":-1.135,"y":0.182,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft9","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-1.71000111,"y":-0.9590002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮A"},{"shaftName":"Pluggable Shaft8","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"shaftPos":{"x":-2.59800124,"y":-0.941000164,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft7","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"shaftPos":{"x":-2.22800064,"y":-0.453000158,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft6","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-1.855001,"y":-0.3910001,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft5","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"shaftPos":{"x":-2.0,"y":-0.6250002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮A"},{"shaftName":"Pluggable Shaft4","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.27,"shaftPos":{"x":-2.18600082,"y":-0.08200007,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮A"},{"shaftName":"Pluggable Shaft3","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-1.97600079,"y":0.300000042,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft2","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"shaftPos":{"x":-1.70600092,"y":0.307999939,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Pluggable Shaft1","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"shaftPos":{"x":-2.40600061,"y":0.295000046,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Driver Shaft","shaftType":0,"initialSpeed":1.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"shaftPos":{"x":-2.188,"y":0.445000023,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"},{"shaftName":"Target Shaft","shaftType":1,"initialSpeed":0.0,"targetSpeed":0.3,"hasChildGear":true,"radius":0.27,"shaftPos":{"x":-2.1600008,"y":-0.9610002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面/变速箱齿轮C"}]}
|
||||
{"shaftLevelDataArray":[{"shaftName":"Target","shaftType":1,"initialSpeed":0.0,"targetSpeed":0.3,"hasChildGear":true,"radius":1.0,"shaftPos":{"x":6.629,"y":0.684,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Driver","shaftType":0,"initialSpeed":1.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.5,"shaftPos":{"x":4.64,"y":3.33,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Constant","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.5,"shaftPos":{"x":5.973,"y":2.457,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮B"},{"shaftName":"Pluggable","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.5,"shaftPos":{"x":5.516,"y":3.867,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Empty","shaftType":3,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.5,"shaftPos":{"x":6.56,"y":4.334,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}]}
|
||||
@@ -0,0 +1 @@
|
||||
{"shaftLevelDataArray":[{"shaftName":"Pluggable Shaft9","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.69999993,"y":-0.919,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Pluggable Shaft8","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.588,"y":-0.901,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft7","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.21799946,"y":-0.413000017,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft6","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.84499979,"y":-0.350999951,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱唱片齿轮"},{"shaftName":"Pluggable Shaft5","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.98999882,"y":-0.585000038,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Pluggable Shaft4","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.27,"isGearBroken":true,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.17599964,"y":-0.04199993,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft3","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.9659996,"y":0.340000182,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft2","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.70999885,"y":0.348000079,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft1","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.39599943,"y":0.3350002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Driver Shaft","shaftType":0,"initialSpeed":1.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.17799878,"y":0.4850002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Target Shaft","shaftType":1,"initialSpeed":0.0,"targetSpeed":0.3,"hasChildGear":true,"radius":0.27,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.14999962,"y":-0.921000063,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}],"panelShaftArray":[{"shaftName":"Panel Shaft1","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":true,"discIdx":0,"shaftPos":{"x":-0.019,"y":0.717,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱唱片齿轮"},{"shaftName":"Panel Shaft2","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.27,"isGearBroken":true,"isDisc":false,"discIdx":0,"shaftPos":{"x":-0.011,"y":0.003,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/坏齿轮A"},{"shaftName":"Panel Shaft3","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.0,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-0.011,"y":-0.668,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}]}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c21db38b4480c6b45a41503bd5f078e4
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
{"shaftLevelDataArray":[{"shaftName":"Pluggable Shaft9","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":3,"shaftPos":{"x":-1.722,"y":-0.904,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Pluggable Shaft8","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.588,"y":-0.892,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft7","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.21799946,"y":-0.413000017,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft6","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":2,"shaftPos":{"x":-1.868,"y":-0.350999951,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱唱片齿轮"},{"shaftName":"Pluggable Shaft5","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.996,"y":-0.582,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Pluggable Shaft4","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.27,"isGearBroken":true,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.17599964,"y":-0.04199993,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/坏齿轮A"},{"shaftName":"Pluggable Shaft3","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.9659996,"y":0.340000182,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft2","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":1,"shaftPos":{"x":-1.70999885,"y":0.348000079,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft1","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.39599943,"y":0.3350002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Driver Shaft","shaftType":0,"initialSpeed":1.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.17799878,"y":0.4850002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Target Shaft","shaftType":1,"initialSpeed":0.0,"targetSpeed":0.3,"hasChildGear":true,"radius":0.27,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.156,"y":-0.896,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}],"panelShaftArray":[{"shaftName":"Panel Shaft1","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":true,"discIdx":0,"shaftPos":{"x":-0.019,"y":0.717,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱唱片齿轮"},{"shaftName":"Panel Shaft2","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.27,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-0.011,"y":0.003,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Panel Shaft3","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.0,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-0.011,"y":-0.668,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}]}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b214c36ca1f2084fa03f508cb369846
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1 +1 @@
|
||||
{"shaftLevelDataArray":[]}
|
||||
{"shaftLevelDataArray":[{"shaftName":"Pluggable Shaft9","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.69999993,"y":-0.919,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Pluggable Shaft8","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.588,"y":-0.901,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft7","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.21799946,"y":-0.413000017,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft6","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.84499979,"y":-0.350999951,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱唱片齿轮"},{"shaftName":"Pluggable Shaft5","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.98999882,"y":-0.585000038,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮A"},{"shaftName":"Pluggable Shaft4","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.27,"isGearBroken":true,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.17599964,"y":-0.04199993,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft3","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.9659996,"y":0.340000182,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft2","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-1.70999885,"y":0.348000079,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Pluggable Shaft1","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.39599943,"y":0.3350002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Driver Shaft","shaftType":0,"initialSpeed":1.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.09,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.17799878,"y":0.4850002,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"},{"shaftName":"Target Shaft","shaftType":1,"initialSpeed":0.0,"targetSpeed":0.3,"hasChildGear":true,"radius":0.27,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-2.14999962,"y":-0.921000063,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}],"panelShaftArray":[{"shaftName":"Panel Shaft1","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.18,"isGearBroken":false,"isDisc":true,"discIdx":0,"shaftPos":{"x":-0.019,"y":0.717,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱唱片齿轮"},{"shaftName":"Panel Shaft2","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":true,"radius":0.27,"isGearBroken":true,"isDisc":false,"discIdx":0,"shaftPos":{"x":-0.011,"y":0.003,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/坏齿轮A"},{"shaftName":"Panel Shaft3","shaftType":2,"initialSpeed":0.0,"targetSpeed":0.0,"hasChildGear":false,"radius":0.0,"isGearBroken":false,"isDisc":false,"discIdx":0,"shaftPos":{"x":-0.011,"y":-0.668,"z":0.0},"gearPicPath":"Art/Fix/Stone/身体维修界面导出_1227/变速箱齿轮C"}]}
|
||||
Reference in New Issue
Block a user