This commit is contained in:
SoulliesOfficial
2025-09-14 14:53:45 -04:00
parent 64c84ac685
commit 8f9e84a535
68 changed files with 12674 additions and 470 deletions

View File

@@ -0,0 +1,205 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-1962591172073477845
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_hold 1
m_Shader: {fileID: -6465566751694194690, guid: 754adf81fabebcc43b4839f86c8172bf,
type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2999
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
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}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Outline_Texture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _RampMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _dissvolemap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _texcoord:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _vertexmap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AdaptiveThickness: 0.123
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EdgeValue: 0.378
- _Enable_Movement: 0
- _Enabled: 1
- _EnvironmentReflections: 1
- _Fade_Distance: 500
- _Float0: 0.84
- _Float1: 1.41
- _Float2: 12.91
- _FlowSpeed: 0.73
- _GlossMapScale: 0
- _GlossSource: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Glow_Intensity: 5
- _IOR_ins: 0.35
- _Intensity: 10.58
- _MainAlpha: 1
- _MaskRef: 1.11
- _Metallic: 0
- _NoiseScale: 2.19
- _OcclusionStrength: 1
- _Opacity: 0
- _OutlineType: 0
- _Outline_Thickness: 0.01
- _Parallax: 0.005
- _QueueControl: 0
- _QueueOffset: -1
- _RampMapLoaded: 0
- _ReceiveShadows: 1
- _Rotation: 84
- _ScreenSpace: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _Speed: 0
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _Thickness: 0.012
- _UseEmission: 0
- _UseGradient: 0
- _UseSpecular: 0
- _Width: 1.05
- _WorkflowMode: 1
- _ZWrite: 1
- _alpha: 1
- _alpha1: 2.42
- _edge: 0.1
- _line_angle: 3.14159
- _line_density: 8
- _line_width: 0.02
- _roll_speed: 0
- _speed: 0
- _vertexoffset: 0
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color0: {r: 0.1544589, g: 0.2214439, b: 0.8396226, a: 1}
- _Color1: {r: 1.4845159, g: 3.7472029, b: 5.5213575, a: 1}
- _ColorA: {r: 0.08490568, g: 0.005206483, b: 0.005206483, a: 0}
- _ColorB: {r: 2.270603, g: 0.9966403, b: 0.4177054, a: 0}
- _Direction_Control: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _IN: {r: 0.007843138, g: 0.019607844, b: 0.043137256, a: 1}
- _ImageColor: {r: 1, g: 1, b: 1, a: 0}
- _LINE: {r: 0.9886223, g: 1.15973, b: 1.8156428, a: 1}
- _OUT: {r: 0.9253332, g: 2.3357186, b: 3.44159, a: 1}
- _OutlineColor: {r: 3.4415908, g: 0.6135552, b: 0.53571934, a: 1}
- _Outline_Color: {r: 0.48940903, g: 0.8867924, b: 0.8624747, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Vector0: {r: -0.05, g: 1, b: 0, a: 0}
- _colorremap: {r: 0.5, g: 1, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a56507c052a7d764f82115ad35026f0e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -128,7 +128,7 @@ Material:
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _IOR_ins: 1
- _IOR_ins: 0.35
- _MainAlpha: 1
- _Metallic: 0
- _OcclusionStrength: 1
@@ -148,10 +148,10 @@ Material:
- _ZWrite: 1
- _alpha: 1
- _alpha1: 2.42
- _edge: 0.25
- _line_angle: 12
- _line_density: 4
- _line_width: 0.06
- _edge: 0
- _line_angle: 6.28318
- _line_density: 8
- _line_width: 0.04
- _roll_speed: 0.2
- _speed: 0
- _vertexoffset: 0
@@ -166,7 +166,7 @@ Material:
- _IN: {r: 0.007843138, g: 0.019607844, b: 0.043137256, a: 1}
- _ImageColor: {r: 1, g: 1, b: 1, a: 0}
- _LINE: {r: 0.54245293, g: 0.6397447, b: 1.0000002, a: 1}
- _OUT: {r: 0.4027747, g: 1.0166806, b: 1.4980391, a: 1}
- _OUT: {r: 0.031081432, g: 0.06912939, b: 0.10717734, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Vector0: {r: -0.05, g: 1, b: 0, a: 0}
- _colorremap: {r: 0.5, g: 1, b: 0, a: 1}

View File

@@ -132,7 +132,11 @@ MonoBehaviour:
serializationData:
SerializedFormat: 2
SerializedBytes:
ReferencedUnityObjects: []
ReferencedUnityObjects:
- {fileID: 2100000, guid: 30ebcd09c269ea844b37acf7d1280f8f, type: 2}
- {fileID: 2100000, guid: 8b26c26b4386f314cb4dfe22d77f6886, type: 2}
- {fileID: 2100000, guid: 3d8156b4159c175408f8af5a365ea332, type: 2}
- {fileID: 2100000, guid: b9b2ac6545519d949a97a5ac20df2a2c, type: 2}
SerializedBytesString:
Prefab: {fileID: 0}
PrefabModificationsReferencedUnityObjects: []
@@ -154,6 +158,96 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
- Name: normalMaterialList
Entry: 7
Data: 1|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 7
Data: 2|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 3|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 1
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: highlightMaterialList
Entry: 7
Data: 4|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 7
Data: 5|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 2
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 6|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 3
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
elementName:
tags: []
parentElement: {fileID: 0}
@@ -164,17 +258,12 @@ MonoBehaviour:
isHighlighted: 0
noteMain: {fileID: 5329694043409909306}
judgeEffect: {fileID: 6461584531587415413}
perfectPoint: {fileID: 0}
notePartList:
- {fileID: 7089777165997333510}
- {fileID: 2774408368298850052}
effectPrefabList:
- {fileID: 259726579821980163, guid: 7a9246a0c5699fd41b3532c407148384, type: 3}
normalMaterialList:
- {fileID: 2100000, guid: 30ebcd09c269ea844b37acf7d1280f8f, type: 2}
- {fileID: 2100000, guid: 8b26c26b4386f314cb4dfe22d77f6886, type: 2}
highlightMaterialList:
- {fileID: 2100000, guid: 3d8156b4159c175408f8af5a365ea332, type: 2}
- {fileID: 2100000, guid: b9b2ac6545519d949a97a5ac20df2a2c, type: 2}
--- !u!1 &5329694043409909306
GameObject:
m_ObjectHideFlags: 0

View File

@@ -94,6 +94,7 @@ MeshRenderer:
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: af5abaed674f09748ac72087ce57dd24, type: 2}
- {fileID: 2100000, guid: a56507c052a7d764f82115ad35026f0e, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@@ -406,7 +407,9 @@ MonoBehaviour:
serializationData:
SerializedFormat: 2
SerializedBytes:
ReferencedUnityObjects: []
ReferencedUnityObjects:
- {fileID: 2100000, guid: af5abaed674f09748ac72087ce57dd24, type: 2}
- {fileID: 2100000, guid: a56507c052a7d764f82115ad35026f0e, type: 2}
SerializedBytesString:
Prefab: {fileID: 0}
PrefabModificationsReferencedUnityObjects: []
@@ -428,6 +431,70 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
- Name: normalMaterialList
Entry: 7
Data: 1|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 2|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 10
Data: 0
- Name:
Entry: 10
Data: 1
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: highlightMaterialList
Entry: 7
Data: 3|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 4|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 10
Data: 0
- Name:
Entry: 10
Data: 1
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
elementName:
tags: []
parentElement: {fileID: 0}
@@ -438,6 +505,7 @@ MonoBehaviour:
isHighlighted: 0
noteMain: {fileID: 2835341405362895704}
judgeEffect: {fileID: 2247334318120717134}
perfectPoint: {fileID: 0}
notePartList:
- {fileID: 4591335795006963298}
- {fileID: 2835341405362895704}
@@ -449,10 +517,6 @@ MonoBehaviour:
- {fileID: 2543696897242183168, guid: 74ca1b37f22b9e74c9fbadc8a1620438, type: 3}
- {fileID: 2633325187628725007, guid: ff0f5d31bf9e8894496650375bd224c6, type: 3}
- {fileID: 6895315612513451578, guid: e34ae6c12fea69d4194b15b860451824, type: 3}
normalMaterialList:
- {fileID: 2100000, guid: af5abaed674f09748ac72087ce57dd24, type: 2}
highlightMaterialList:
- {fileID: 2100000, guid: af5abaed674f09748ac72087ce57dd24, type: 2}
meshGenerator: {fileID: 3749440688852897166}
headPoint: {fileID: 4280273939034235032}
tailPoint: {fileID: 4319407568721311756}

View File

@@ -81,7 +81,9 @@ MonoBehaviour:
serializationData:
SerializedFormat: 2
SerializedBytes:
ReferencedUnityObjects: []
ReferencedUnityObjects:
- {fileID: 2100000, guid: a400b0137c2b44b4f9379311124fe1a1, type: 2}
- {fileID: 2100000, guid: a9dcdb241a7784643b7fe4ea67ffa523, type: 2}
SerializedBytesString:
Prefab: {fileID: 0}
PrefabModificationsReferencedUnityObjects: []
@@ -103,6 +105,64 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
- Name: normalMaterialList
Entry: 7
Data: 1|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 2|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: highlightMaterialList
Entry: 7
Data: 3|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 4|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 1
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
elementName:
tags: []
parentElement: {fileID: 0}
@@ -113,14 +173,11 @@ MonoBehaviour:
isHighlighted: 0
noteMain: {fileID: 1702456025656505772}
judgeEffect: {fileID: 6461584531587415413}
perfectPoint: {fileID: 0}
notePartList:
- {fileID: 5922952087749752714}
effectPrefabList:
- {fileID: 9060275479571137930, guid: 01d64e1f5839baa499d57e93527ac9d4, type: 3}
normalMaterialList:
- {fileID: 2100000, guid: a400b0137c2b44b4f9379311124fe1a1, type: 2}
highlightMaterialList:
- {fileID: 2100000, guid: a9dcdb241a7784643b7fe4ea67ffa523, type: 2}
--- !u!1 &5922952087749752714
GameObject:
m_ObjectHideFlags: 0

View File

@@ -129,6 +129,91 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea0771a0c87f746769a9ffd7286a0665, type: 3}
m_Name:
m_EditorClassIdentifier:
serializationData:
SerializedFormat: 2
SerializedBytes:
ReferencedUnityObjects:
- {fileID: 2100000, guid: c3bfcc4bd240fb6438a1fbbbf81e49b3, type: 2}
- {fileID: 2100000, guid: 27404ae91ccdf474299d5ade4afff522, type: 2}
SerializedBytesString:
Prefab: {fileID: 0}
PrefabModificationsReferencedUnityObjects: []
PrefabModifications: []
SerializationNodes:
- Name: elementGuid
Entry: 2
Data: 00000000000000000000000000000000
- Name: submoduleList
Entry: 7
Data: 0|System.Collections.Generic.List`1[[Ichni.RhythmGame.SubmoduleBase,
Assembly-CSharp]], mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: normalMaterialList
Entry: 7
Data: 1|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 2|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: highlightMaterialList
Entry: 7
Data: 3|System.Collections.Generic.List`1[[System.Collections.Generic.List`1[[UnityEngine.Material,
UnityEngine.CoreModule]], mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 4|System.Collections.Generic.List`1[[UnityEngine.Material, UnityEngine.CoreModule]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 10
Data: 1
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
elementName:
tags: []
parentElement: {fileID: 0}
@@ -139,16 +224,13 @@ MonoBehaviour:
isHighlighted: 0
noteMain: {fileID: 4893130918245157840}
judgeEffect: {fileID: 7156734439193834785}
perfectPoint: {fileID: 0}
notePartList:
- {fileID: 1288579742112386154}
effectPrefabList:
- {fileID: 5206816948155664547, guid: 3b25e2b1086279f4c87ffdaa0f4ee4bb, type: 3}
- {fileID: 5460901868258223737, guid: d7a33eb3bb4123646b0766e897bd870d, type: 3}
- {fileID: 1840387782121715201, guid: 1743f2ad7c2469e45adfdd33c1a086da, type: 3}
normalMaterialList:
- {fileID: 2100000, guid: c3bfcc4bd240fb6438a1fbbbf81e49b3, type: 2}
highlightMaterialList:
- {fileID: 2100000, guid: 27404ae91ccdf474299d5ade4afff522, type: 2}
--- !u!1 &4893130918245157840
GameObject:
m_ObjectHideFlags: 0

View File

@@ -38,7 +38,15 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
foreach (var renderer in noteRenderers)
{
renderer.material.SetFloat("_MainAlpha", 1f);
renderer.materials.For(m => m.SetFloat("_MainAlpha", 1f));
}
}
public override void PreExecute()
{
if (noteVisual is DTMNoteVisualHold)
{
noteRenderers[0].materials[1].SetFloat("_GlowIntensity", 0.25f);
}
}
@@ -49,7 +57,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
foreach (var renderer in noteRenderers)
{
renderer.material.SetFloat("_MainAlpha", alpha);
renderer.materials.For(m => m.SetFloat("_MainAlpha", alpha));
}
}
@@ -58,7 +66,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
noteVisual.noteMain.SetActive(false);
foreach (var renderer in noteRenderers)
{
renderer.material.SetFloat("_MainAlpha", 0f);
renderer.materials.For(m => m.SetFloat("_MainAlpha", 1f));
}
}

View File

@@ -9,8 +9,8 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
{
public partial class DTMNoteVisual : NoteVisualBase
{
public List<Material> normalMaterialList;
public List<Material> highlightMaterialList;
public List<List<Material>> normalMaterialList;
public List<List<Material>> highlightMaterialList;
public new static DTMNoteVisual GenerateElement(string elementName, Guid id, List<string> tags,
bool isFirstGenerated, string themeBundleName, string objectName, GameElement parentElement, bool isHighlighted)
@@ -27,7 +27,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
if (note == null) throw new System.Exception("NoteVisual只能生成在Note下。");
this.note = note;
note.noteVisual = this;
if (note is Flick flick)
{
flick.availableFlickDirections = new List<Vector2>() { Vector2.left, Vector2.right };
@@ -76,14 +76,20 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
{
for (int i = 0; i < partRendererList.Count; i++)
{
partRendererList[i].material = normalMaterialList[i];
for (int j = 0; j < partRendererList[i].materials.Length; j++)
{
partRendererList[i].materials[j] = normalMaterialList[i][j];
}
}
}
else
{
for (int i = 0; i < partRendererList.Count; i++)
{
partRendererList[i].material = highlightMaterialList[i];
for (int j = 0; j < partRendererList[i].materials.Length; j++)
{
partRendererList[i].materials[j] = highlightMaterialList[i][j];
}
}
}
}

View File

@@ -59,7 +59,9 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
Renderer rend = part.GetComponent<Renderer>();
if (rend != null)
{
rend.material.SetFloat("_MainAlpha", 1f);
rend.materials[0].SetFloat("_MainAlpha", 1f);
rend.materials[1].SetFloat("_MainAlpha", 1f);
note.track.trackPathSubmodule.path.RebuildImmediate();
}
}