Skip to content

Commit

Permalink
update-code
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceMonGithub committed Jan 10, 2023
1 parent 284d33a commit b6053bf
Show file tree
Hide file tree
Showing 9 changed files with 564 additions and 193 deletions.
10 changes: 6 additions & 4 deletions Assets/Content/Materials/Block.mat
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ Material:
m_PrefabAsset: {fileID: 0}
m_Name: Block
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_ValidKeywords:
- _ALPHATEST_ON
m_InvalidKeywords: []
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: TransparentCutout
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
Expand Down Expand Up @@ -66,7 +68,7 @@ Material:
- _Glossiness: 0.189
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
Expand Down
14 changes: 8 additions & 6 deletions Assets/Content/Materials/Visualization.mat
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ Material:
m_Name: Visualization
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords:
- _ALPHATEST_ON
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: TransparentCutout
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
Expand All @@ -42,7 +44,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: f6de3c5119d38084e8d2e2aaedf63132, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand All @@ -64,14 +66,14 @@ Material:
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.444
- _Cutoff: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
Expand All @@ -80,7 +82,7 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 0.28235295}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0.47843137, g: 0.47843137, b: 0.47843137, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
2 changes: 0 additions & 2 deletions Assets/Content/Prefabs/Blocks/Final/L-Block.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ MonoBehaviour:
_visualizationOffset: {x: 0, y: 0, z: 0}
_hideTime: 2
_instableAnimationTime: 1
_instableColor: {r: 0.16687433, g: 0.4716981, b: 0.40156168, a: 1}
_defaultColor: {r: 0.30980393, g: 0.7529412, b: 0.6509804, a: 1}
_gameObject: {fileID: 1622142305574284339}
_transform: {fileID: 1622142305574284349}
_modelTransform: {fileID: 1622142306510540652}
Expand Down
155 changes: 151 additions & 4 deletions Assets/Content/Scenes/Game/Game.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.18028332, g: 0.2257144, b: 0.30692258, a: 1}
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571492, b: 0.30692387, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -253,7 +253,7 @@ RectTransform:
m_Children:
- {fileID: 541241258}
m_Father: {fileID: 485690431}
m_RootOrder: 0
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
Expand Down Expand Up @@ -308,7 +308,7 @@ RectTransform:
m_Children:
- {fileID: 309047912}
m_Father: {fileID: 485690431}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
Expand Down Expand Up @@ -495,6 +495,152 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &295352883
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 295352884}
- component: {fileID: 295352887}
- component: {fileID: 295352886}
- component: {fileID: 295352885}
- component: {fileID: 295352888}
m_Layer: 5
m_Name: Retry
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &295352884
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295352883}
m_LocalRotation: {x: -0, y: -0, z: 0.7071068, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 485690431}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 89, y: 986}
m_SizeDelta: {x: 305.2659, y: 305.2659}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &295352885
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295352883}
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: 295352886}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 295352888}
m_TargetAssemblyTypeName: Sources.SceneLoaderLogic.MonoSceneLoader, Assembly-CSharp
m_MethodName: LoadScene
m_Mode: 5
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument: Game
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &295352886
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295352883}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
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: 1fc3fc4933235d84ca3ffb4f9472fd51, 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 &295352887
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295352883}
m_CullTransparentMesh: 1
--- !u!114 &295352888
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295352883}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4548ba8ee2e99354ea6a47a3d83fe968, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &309047911
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -642,6 +788,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 295352884}
- {fileID: 57664742}
- {fileID: 125910961}
m_Father: {fileID: 236506611}
Expand Down Expand Up @@ -1756,7 +1903,7 @@ MonoBehaviour:
- {r: 0.9090456, g: 0.2971698, b: 1, a: 1}
- {r: 0.7218831, g: 0.2688679, b: 1, a: 1}
- {r: 0.9845727, g: 1, b: 0.3443396, a: 1}
_startBlock: {fileID: 6558968419845953766, guid: 04e413ce033e11a40a28920ebd9f0faf, type: 3}
_startBlock: {fileID: 1622142305574284348, guid: cbf5c3e3bb1e8364c843a4924c9f9d87, type: 3}
_buildingRoot: {fileID: 241433719}
--- !u!114 &1610863012
MonoBehaviour:
Expand Down
Loading

0 comments on commit b6053bf

Please sign in to comment.