com.amanotes.magictilescore 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +240 -0
- package/CHANGELOG.md.meta +7 -0
- package/Docs/Class-Hierarchy.md +729 -0
- package/Docs/Class-Hierarchy.md.meta +7 -0
- package/Docs/Component-Architecture.md +43 -0
- package/Docs/Component-Architecture.md.meta +7 -0
- package/Docs/File-Structure.md +327 -0
- package/Docs/File-Structure.md.meta +7 -0
- package/Docs/Game-Architecture.md +41 -0
- package/Docs/Game-Architecture.md.meta +7 -0
- package/Docs/Input-System-Guide.md +419 -0
- package/Docs/Input-System-Guide.md.meta +7 -0
- package/Docs/Knot-System-Guide.md +309 -0
- package/Docs/Knot-System-Guide.md.meta +7 -0
- package/Docs/Meta-System-Guide.md +249 -0
- package/Docs/Meta-System-Guide.md.meta +7 -0
- package/Docs/New-Game-Checklist.md +102 -0
- package/Docs/New-Game-Checklist.md.meta +7 -0
- package/Docs/README.md +37 -0
- package/Docs/README.md.meta +7 -0
- package/Docs/RhythmCore-Architecture.md +373 -0
- package/Docs/RhythmCore-Architecture.md.meta +7 -0
- package/Docs/RhythmCore-Customize-Guide.md +391 -0
- package/Docs/RhythmCore-Customize-Guide.md.meta +7 -0
- package/Docs/Understanding-Rhythm-Core.md +483 -0
- package/Docs/Understanding-Rhythm-Core.md.meta +7 -0
- package/Docs/VisualWarp-System-Guide.md +377 -0
- package/Docs/VisualWarp-System-Guide.md.meta +7 -0
- package/Docs/Widget2D-System-Guide.md +450 -0
- package/Docs/Widget2D-System-Guide.md.meta +7 -0
- package/Docs.meta +8 -0
- package/Editor/AdjustHueEditor.cs +90 -0
- package/Editor/AdjustHueEditor.cs.meta +11 -0
- package/Editor/ClassInstanceDrawer.cs +256 -0
- package/Editor/ClassInstanceDrawer.cs.meta +11 -0
- package/Editor/CollapsibleGroupEditor.cs +142 -0
- package/Editor/CollapsibleGroupEditor.cs.meta +11 -0
- package/Editor/ListSongNoteEditor.cs +317 -0
- package/Editor/ListSongNoteEditor.cs.meta +11 -0
- package/Editor/MagicTilesCore.Editor.asmdef +20 -0
- package/Editor/MagicTilesCore.Editor.asmdef.meta +7 -0
- package/Editor/MetaLogicDrawer.cs +488 -0
- package/Editor/MetaLogicDrawer.cs.meta +11 -0
- package/Editor/RhythmContextEditor.EditorDrawer.cs +46 -0
- package/Editor/RhythmContextEditor.EditorDrawer.cs.meta +3 -0
- package/Editor/RhythmContextEditor.cs +587 -0
- package/Editor/RhythmContextEditor.cs.meta +3 -0
- package/Editor/RhythmGameEditor.cs +45 -0
- package/Editor/RhythmGameEditor.cs.meta +11 -0
- package/Editor/RhythmTileEditor.cs +93 -0
- package/Editor/RhythmTileEditor.cs.meta +11 -0
- package/Editor/TagConfigDrawer.cs +30 -0
- package/Editor/TagConfigDrawer.cs.meta +11 -0
- package/Editor.meta +8 -0
- package/LICENSE.md +7 -0
- package/LICENSE.md.meta +7 -0
- package/README.md +88 -0
- package/README.md.meta +7 -0
- package/Runtime/AssemblyInfo.cs +4 -0
- package/Runtime/AssemblyInfo.cs.meta +11 -0
- package/Runtime/Input/Base/BaseTileInput.cs +44 -0
- package/Runtime/Input/Base/BaseTileInput.cs.meta +11 -0
- package/Runtime/Input/Base/IInputHandler.cs +11 -0
- package/Runtime/Input/Base/IInputHandler.cs.meta +11 -0
- package/Runtime/Input/Base/InputData.cs +94 -0
- package/Runtime/Input/Base/InputData.cs.meta +3 -0
- package/Runtime/Input/Base/InputDirection.cs +17 -0
- package/Runtime/Input/Base/InputDirection.cs.meta +3 -0
- package/Runtime/Input/Base/InputPhase.cs +4 -0
- package/Runtime/Input/Base/InputPhase.cs.meta +3 -0
- package/Runtime/Input/Base.meta +3 -0
- package/Runtime/Input/Components/DragInput.cs +44 -0
- package/Runtime/Input/Components/DragInput.cs.meta +11 -0
- package/Runtime/Input/Components/HoldInput.cs +75 -0
- package/Runtime/Input/Components/HoldInput.cs.meta +12 -0
- package/Runtime/Input/Components/SwipeInput.cs +45 -0
- package/Runtime/Input/Components/SwipeInput.cs.meta +12 -0
- package/Runtime/Input/Components/TouchInput.cs +31 -0
- package/Runtime/Input/Components/TouchInput.cs.meta +11 -0
- package/Runtime/Input/Components.meta +8 -0
- package/Runtime/Input.meta +8 -0
- package/Runtime/MagicTilesCore.asmdef +24 -0
- package/Runtime/MagicTilesCore.asmdef.meta +7 -0
- package/Runtime/MoodChange/AdjustHue.ComponentInfo.cs +12 -0
- package/Runtime/MoodChange/AdjustHue.ComponentInfo.cs.meta +3 -0
- package/Runtime/MoodChange/AdjustHue.MaterialInfo.cs +115 -0
- package/Runtime/MoodChange/AdjustHue.MaterialInfo.cs.meta +3 -0
- package/Runtime/MoodChange/AdjustHue.ParticleSystemInfo.cs +36 -0
- package/Runtime/MoodChange/AdjustHue.ParticleSystemInfo.cs.meta +3 -0
- package/Runtime/MoodChange/AdjustHue.SpriteRendererInfo.cs +28 -0
- package/Runtime/MoodChange/AdjustHue.SpriteRendererInfo.cs.meta +3 -0
- package/Runtime/MoodChange/AdjustHue.TrailRendererInfo.cs +37 -0
- package/Runtime/MoodChange/AdjustHue.TrailRendererInfo.cs.meta +3 -0
- package/Runtime/MoodChange/AdjustHue.cs +219 -0
- package/Runtime/MoodChange/AdjustHue.cs.meta +11 -0
- package/Runtime/MoodChange/ColorHueExtensions.cs +227 -0
- package/Runtime/MoodChange/ColorHueExtensions.cs.meta +3 -0
- package/Runtime/MoodChange/HueCache.cs +167 -0
- package/Runtime/MoodChange/HueCache.cs.meta +11 -0
- package/Runtime/MoodChange/MoodChange.cs +52 -0
- package/Runtime/MoodChange/MoodChange.cs.meta +3 -0
- package/Runtime/MoodChange.meta +3 -0
- package/Runtime/Physics/TriggerCallback.cs +21 -0
- package/Runtime/Physics/TriggerCallback.cs.meta +3 -0
- package/Runtime/Physics.meta +8 -0
- package/Runtime/Preset/AudioSourcePlayer/AudioSourcePlayer.cs +153 -0
- package/Runtime/Preset/AudioSourcePlayer/AudioSourcePlayer.cs.meta +11 -0
- package/Runtime/Preset/AudioSourcePlayer/AudioSourcePlayer.prefab +145 -0
- package/Runtime/Preset/AudioSourcePlayer/AudioSourcePlayer.prefab.meta +7 -0
- package/Runtime/Preset/AudioSourcePlayer.meta +8 -0
- package/Runtime/Preset/AudioTimeText/AudioTimeText.cs +22 -0
- package/Runtime/Preset/AudioTimeText/AudioTimeText.cs.meta +11 -0
- package/Runtime/Preset/AudioTimeText/AudioTimeText.prefab +188 -0
- package/Runtime/Preset/AudioTimeText/AudioTimeText.prefab.meta +7 -0
- package/Runtime/Preset/AudioTimeText.meta +8 -0
- package/Runtime/Preset/ParticleSystemPlayer/ParticleSystemPlayer.cs +32 -0
- package/Runtime/Preset/ParticleSystemPlayer/ParticleSystemPlayer.cs.meta +11 -0
- package/Runtime/Preset/ParticleSystemPlayer.meta +8 -0
- package/Runtime/Preset/RendererAlpha.cs +56 -0
- package/Runtime/Preset/RendererAlpha.cs.meta +11 -0
- package/Runtime/Preset/ScoreText/ScoreText.anim +198 -0
- package/Runtime/Preset/ScoreText/ScoreText.anim.meta +8 -0
- package/Runtime/Preset/ScoreText/ScoreText.cs +32 -0
- package/Runtime/Preset/ScoreText/ScoreText.cs.meta +11 -0
- package/Runtime/Preset/ScoreText/ScoreText_2D.prefab +170 -0
- package/Runtime/Preset/ScoreText/ScoreText_2D.prefab.meta +7 -0
- package/Runtime/Preset/ScoreText/ScoreText_3D.prefab +206 -0
- package/Runtime/Preset/ScoreText/ScoreText_3D.prefab.meta +7 -0
- package/Runtime/Preset/ScoreText.meta +8 -0
- package/Runtime/Preset/StartHint/StartHint.cs +26 -0
- package/Runtime/Preset/StartHint/StartHint.cs.meta +3 -0
- package/Runtime/Preset/StartHint.meta +8 -0
- package/Runtime/Preset/WowText/WowText.cs +38 -0
- package/Runtime/Preset/WowText/WowText.cs.meta +3 -0
- package/Runtime/Preset/WowText.meta +8 -0
- package/Runtime/Preset.meta +8 -0
- package/Runtime/Rhythm/Components/Controls.meta +8 -0
- package/Runtime/Rhythm/Components/Helper/CameraFollow.cs +28 -0
- package/Runtime/Rhythm/Components/Helper/CameraFollow.cs.meta +11 -0
- package/Runtime/Rhythm/Components/Helper/MeshSpriteSorter.cs +89 -0
- package/Runtime/Rhythm/Components/Helper/MeshSpriteSorter.cs.meta +11 -0
- package/Runtime/Rhythm/Components/Helper/RecycleLayoutZ.cs +74 -0
- package/Runtime/Rhythm/Components/Helper/RecycleLayoutZ.cs.meta +11 -0
- package/Runtime/Rhythm/Components/Helper.meta +8 -0
- package/Runtime/Rhythm/Components.meta +8 -0
- package/Runtime/Rhythm/Core/GameMode.cs +10 -0
- package/Runtime/Rhythm/Core/GameMode.cs.meta +3 -0
- package/Runtime/Rhythm/Core/IAudioPlayer.cs +16 -0
- package/Runtime/Rhythm/Core/IAudioPlayer.cs.meta +3 -0
- package/Runtime/Rhythm/Core/IRhythmBehaviour.cs +10 -0
- package/Runtime/Rhythm/Core/IRhythmBehaviour.cs.meta +3 -0
- package/Runtime/Rhythm/Core/RhythmBehaviour.cs +57 -0
- package/Runtime/Rhythm/Core/RhythmBehaviour.cs.meta +11 -0
- package/Runtime/Rhythm/Core/RhythmDebug.cs +48 -0
- package/Runtime/Rhythm/Core/RhythmDebug.cs.meta +11 -0
- package/Runtime/Rhythm/Core/RhythmGameT.cs +323 -0
- package/Runtime/Rhythm/Core/RhythmGameT.cs.meta +3 -0
- package/Runtime/Rhythm/Core/RhythmMatch.cs +65 -0
- package/Runtime/Rhythm/Core/RhythmMatch.cs.meta +11 -0
- package/Runtime/Rhythm/Core/RhythmTile.cs +77 -0
- package/Runtime/Rhythm/Core/RhythmTile.cs.meta +3 -0
- package/Runtime/Rhythm/Core/RhythmTileHandler.cs +59 -0
- package/Runtime/Rhythm/Core/RhythmTileHandler.cs.meta +3 -0
- package/Runtime/Rhythm/Core.meta +8 -0
- package/Runtime/Rhythm/Extensions/CollectionExtensions.cs +120 -0
- package/Runtime/Rhythm/Extensions/CollectionExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/ColliderExtensions.cs +27 -0
- package/Runtime/Rhythm/Extensions/ColliderExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/GameHandlerExtensions.cs +56 -0
- package/Runtime/Rhythm/Extensions/GameHandlerExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/GameObjectExtensions.cs +61 -0
- package/Runtime/Rhythm/Extensions/GameObjectExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/InputDirectionExtensions.cs +76 -0
- package/Runtime/Rhythm/Extensions/InputDirectionExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/MTCListExtensions.cs +127 -0
- package/Runtime/Rhythm/Extensions/MTCListExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/MeshRendererExtensions.cs +81 -0
- package/Runtime/Rhythm/Extensions/MeshRendererExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions/ParticleSystemExtensions.cs +54 -0
- package/Runtime/Rhythm/Extensions/ParticleSystemExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Extensions.meta +8 -0
- package/Runtime/Rhythm/Game/MTCSongAutoStart.cs +40 -0
- package/Runtime/Rhythm/Game/MTCSongAutoStart.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmConfig.cs +68 -0
- package/Runtime/Rhythm/Game/RhythmConfig.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.Api.cs +533 -0
- package/Runtime/Rhythm/Game/RhythmContext.Api.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.Dev.cs +121 -0
- package/Runtime/Rhythm/Game/RhythmContext.Dev.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.Initialization.cs +114 -0
- package/Runtime/Rhythm/Game/RhythmContext.Initialization.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.Runtime.cs +126 -0
- package/Runtime/Rhythm/Game/RhythmContext.Runtime.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.State.cs +221 -0
- package/Runtime/Rhythm/Game/RhythmContext.State.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.Tile.cs +90 -0
- package/Runtime/Rhythm/Game/RhythmContext.Tile.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.TimeMachine.cs +315 -0
- package/Runtime/Rhythm/Game/RhythmContext.TimeMachine.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContext.cs +312 -0
- package/Runtime/Rhythm/Game/RhythmContext.cs.meta +11 -0
- package/Runtime/Rhythm/Game/RhythmContextExtensions.cs +91 -0
- package/Runtime/Rhythm/Game/RhythmContextExtensions.cs.meta +11 -0
- package/Runtime/Rhythm/Game/Tile/ITileProgress.cs +7 -0
- package/Runtime/Rhythm/Game/Tile/ITileProgress.cs.meta +3 -0
- package/Runtime/Rhythm/Game/Tile/TileContext.cs +194 -0
- package/Runtime/Rhythm/Game/Tile/TileContext.cs.meta +11 -0
- package/Runtime/Rhythm/Game/Tile.meta +3 -0
- package/Runtime/Rhythm/Game.meta +3 -0
- package/Runtime/Rhythm/Math/Parabol.cs +35 -0
- package/Runtime/Rhythm/Math/Parabol.cs.meta +11 -0
- package/Runtime/Rhythm/Math.meta +8 -0
- package/Runtime/Rhythm/System/Event/GameEvent.cs +82 -0
- package/Runtime/Rhythm/System/Event/GameEvent.cs.meta +3 -0
- package/Runtime/Rhythm/System/Event.meta +8 -0
- package/Runtime/Rhythm/System/Meta/MetaLogic.cs +121 -0
- package/Runtime/Rhythm/System/Meta/MetaLogic.cs.meta +11 -0
- package/Runtime/Rhythm/System/Meta/VisualSpeedMeta.cs +132 -0
- package/Runtime/Rhythm/System/Meta/VisualSpeedMeta.cs.meta +11 -0
- package/Runtime/Rhythm/System/Meta.meta +8 -0
- package/Runtime/Rhythm/System/SongData/ListSongNote.cs +45 -0
- package/Runtime/Rhythm/System/SongData/ListSongNote.cs.meta +3 -0
- package/Runtime/Rhythm/System/SongData.meta +8 -0
- package/Runtime/Rhythm/System/StateMachine/RhythmStateMachine.State.cs +22 -0
- package/Runtime/Rhythm/System/StateMachine/RhythmStateMachine.State.cs.meta +11 -0
- package/Runtime/Rhythm/System/StateMachine/RhythmStateMachine.cs +138 -0
- package/Runtime/Rhythm/System/StateMachine/RhythmStateMachine.cs.meta +11 -0
- package/Runtime/Rhythm/System/StateMachine.meta +8 -0
- package/Runtime/Rhythm/System/TimeKnot/ListTimeKnots.cs +135 -0
- package/Runtime/Rhythm/System/TimeKnot/ListTimeKnots.cs.meta +11 -0
- package/Runtime/Rhythm/System/TimeKnot.meta +8 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeInterpolator.cs +365 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeInterpolator.cs.meta +11 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.TimeMarker.cs +107 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.TimeMarker.cs.meta +3 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.TimeNode.cs +14 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.TimeNode.cs.meta +3 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.TimeSpanNode.cs +21 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.TimeSpanNode.cs.meta +3 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.ZLaneSpeed.cs +28 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.ZLaneSpeed.cs.meta +3 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.cs +131 -0
- package/Runtime/Rhythm/System/TimeMachine/MTCTimeMachine.cs.meta +11 -0
- package/Runtime/Rhythm/System/TimeMachine.meta +8 -0
- package/Runtime/Rhythm/System/VisualKnot/VisualKnotLogic.cs +160 -0
- package/Runtime/Rhythm/System/VisualKnot/VisualKnotLogic.cs.meta +11 -0
- package/Runtime/Rhythm/System/VisualKnot.meta +8 -0
- package/Runtime/Rhythm/System/VisualWarp/IVisualWarp.cs +10 -0
- package/Runtime/Rhythm/System/VisualWarp/IVisualWarp.cs.meta +11 -0
- package/Runtime/Rhythm/System/VisualWarp/LinearVisualWarp.cs +27 -0
- package/Runtime/Rhythm/System/VisualWarp/LinearVisualWarp.cs.meta +11 -0
- package/Runtime/Rhythm/System/VisualWarp.meta +8 -0
- package/Runtime/Rhythm/System.meta +8 -0
- package/Runtime/Rhythm.meta +8 -0
- package/Runtime.meta +8 -0
- package/package.json +12 -0
- package/package.json.meta +7 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &7221050666959327746
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 7221050666959327747}
|
|
12
|
+
- component: {fileID: 7221050666959327756}
|
|
13
|
+
- component: {fileID: 7221050666959327757}
|
|
14
|
+
m_Layer: 0
|
|
15
|
+
m_Name: AudioSourcePlayer
|
|
16
|
+
m_TagString: Untagged
|
|
17
|
+
m_Icon: {fileID: 0}
|
|
18
|
+
m_NavMeshLayer: 0
|
|
19
|
+
m_StaticEditorFlags: 0
|
|
20
|
+
m_IsActive: 1
|
|
21
|
+
--- !u!4 &7221050666959327747
|
|
22
|
+
Transform:
|
|
23
|
+
m_ObjectHideFlags: 0
|
|
24
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
25
|
+
m_PrefabInstance: {fileID: 0}
|
|
26
|
+
m_PrefabAsset: {fileID: 0}
|
|
27
|
+
m_GameObject: {fileID: 7221050666959327746}
|
|
28
|
+
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
29
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
30
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
31
|
+
m_ConstrainProportionsScale: 1
|
|
32
|
+
m_Children: []
|
|
33
|
+
m_Father: {fileID: 0}
|
|
34
|
+
m_RootOrder: 0
|
|
35
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
36
|
+
--- !u!114 &7221050666959327756
|
|
37
|
+
MonoBehaviour:
|
|
38
|
+
m_ObjectHideFlags: 0
|
|
39
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
40
|
+
m_PrefabInstance: {fileID: 0}
|
|
41
|
+
m_PrefabAsset: {fileID: 0}
|
|
42
|
+
m_GameObject: {fileID: 7221050666959327746}
|
|
43
|
+
m_Enabled: 1
|
|
44
|
+
m_EditorHideFlags: 0
|
|
45
|
+
m_Script: {fileID: 11500000, guid: 3d55a896b871a40daace03a806b3444f, type: 3}
|
|
46
|
+
m_Name:
|
|
47
|
+
m_EditorClassIdentifier:
|
|
48
|
+
_context: {fileID: 11400000, guid: 0bc8e73663fc14bf59f408eeda954259, type: 2}
|
|
49
|
+
source: {fileID: 7221050666959327757}
|
|
50
|
+
--- !u!82 &7221050666959327757
|
|
51
|
+
AudioSource:
|
|
52
|
+
m_ObjectHideFlags: 0
|
|
53
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
54
|
+
m_PrefabInstance: {fileID: 0}
|
|
55
|
+
m_PrefabAsset: {fileID: 0}
|
|
56
|
+
m_GameObject: {fileID: 7221050666959327746}
|
|
57
|
+
m_Enabled: 1
|
|
58
|
+
serializedVersion: 4
|
|
59
|
+
OutputAudioMixerGroup: {fileID: 0}
|
|
60
|
+
m_audioClip: {fileID: 0}
|
|
61
|
+
m_PlayOnAwake: 0
|
|
62
|
+
m_Volume: 1
|
|
63
|
+
m_Pitch: 1
|
|
64
|
+
Loop: 0
|
|
65
|
+
Mute: 0
|
|
66
|
+
Spatialize: 0
|
|
67
|
+
SpatializePostEffects: 0
|
|
68
|
+
Priority: 128
|
|
69
|
+
DopplerLevel: 1
|
|
70
|
+
MinDistance: 1
|
|
71
|
+
MaxDistance: 500
|
|
72
|
+
Pan2D: 0
|
|
73
|
+
rolloffMode: 0
|
|
74
|
+
BypassEffects: 0
|
|
75
|
+
BypassListenerEffects: 0
|
|
76
|
+
BypassReverbZones: 0
|
|
77
|
+
rolloffCustomCurve:
|
|
78
|
+
serializedVersion: 2
|
|
79
|
+
m_Curve:
|
|
80
|
+
- serializedVersion: 3
|
|
81
|
+
time: 0
|
|
82
|
+
value: 1
|
|
83
|
+
inSlope: 0
|
|
84
|
+
outSlope: 0
|
|
85
|
+
tangentMode: 0
|
|
86
|
+
weightedMode: 0
|
|
87
|
+
inWeight: 0.33333334
|
|
88
|
+
outWeight: 0.33333334
|
|
89
|
+
- serializedVersion: 3
|
|
90
|
+
time: 1
|
|
91
|
+
value: 0
|
|
92
|
+
inSlope: 0
|
|
93
|
+
outSlope: 0
|
|
94
|
+
tangentMode: 0
|
|
95
|
+
weightedMode: 0
|
|
96
|
+
inWeight: 0.33333334
|
|
97
|
+
outWeight: 0.33333334
|
|
98
|
+
m_PreInfinity: 2
|
|
99
|
+
m_PostInfinity: 2
|
|
100
|
+
m_RotationOrder: 4
|
|
101
|
+
panLevelCustomCurve:
|
|
102
|
+
serializedVersion: 2
|
|
103
|
+
m_Curve:
|
|
104
|
+
- serializedVersion: 3
|
|
105
|
+
time: 0
|
|
106
|
+
value: 0
|
|
107
|
+
inSlope: 0
|
|
108
|
+
outSlope: 0
|
|
109
|
+
tangentMode: 0
|
|
110
|
+
weightedMode: 0
|
|
111
|
+
inWeight: 0.33333334
|
|
112
|
+
outWeight: 0.33333334
|
|
113
|
+
m_PreInfinity: 2
|
|
114
|
+
m_PostInfinity: 2
|
|
115
|
+
m_RotationOrder: 4
|
|
116
|
+
spreadCustomCurve:
|
|
117
|
+
serializedVersion: 2
|
|
118
|
+
m_Curve:
|
|
119
|
+
- serializedVersion: 3
|
|
120
|
+
time: 0
|
|
121
|
+
value: 0
|
|
122
|
+
inSlope: 0
|
|
123
|
+
outSlope: 0
|
|
124
|
+
tangentMode: 0
|
|
125
|
+
weightedMode: 0
|
|
126
|
+
inWeight: 0.33333334
|
|
127
|
+
outWeight: 0.33333334
|
|
128
|
+
m_PreInfinity: 2
|
|
129
|
+
m_PostInfinity: 2
|
|
130
|
+
m_RotationOrder: 4
|
|
131
|
+
reverbZoneMixCustomCurve:
|
|
132
|
+
serializedVersion: 2
|
|
133
|
+
m_Curve:
|
|
134
|
+
- serializedVersion: 3
|
|
135
|
+
time: 0
|
|
136
|
+
value: 1
|
|
137
|
+
inSlope: 0
|
|
138
|
+
outSlope: 0
|
|
139
|
+
tangentMode: 0
|
|
140
|
+
weightedMode: 0
|
|
141
|
+
inWeight: 0.33333334
|
|
142
|
+
outWeight: 0.33333334
|
|
143
|
+
m_PreInfinity: 2
|
|
144
|
+
m_PostInfinity: 2
|
|
145
|
+
m_RotationOrder: 4
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
|
|
3
|
+
#if TMPro
|
|
4
|
+
using TMPro;
|
|
5
|
+
#endif
|
|
6
|
+
|
|
7
|
+
namespace Amanotes.MagicTilesCore
|
|
8
|
+
{
|
|
9
|
+
public class AudioTimeText : RhythmBehaviour
|
|
10
|
+
{
|
|
11
|
+
#if TMPro
|
|
12
|
+
public TextMeshPro text;
|
|
13
|
+
|
|
14
|
+
void Update()
|
|
15
|
+
{
|
|
16
|
+
if (context == null) return;
|
|
17
|
+
text.text = context.audioTime.ToString("00.000");
|
|
18
|
+
}
|
|
19
|
+
#endif
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &1317510658378005135
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 1317510658378005132}
|
|
12
|
+
- component: {fileID: 1317510658378005131}
|
|
13
|
+
- component: {fileID: 1703808840652951401}
|
|
14
|
+
- component: {fileID: 4830871185914423682}
|
|
15
|
+
m_Layer: 5
|
|
16
|
+
m_Name: AudioTimeText
|
|
17
|
+
m_TagString: Untagged
|
|
18
|
+
m_Icon: {fileID: 0}
|
|
19
|
+
m_NavMeshLayer: 0
|
|
20
|
+
m_StaticEditorFlags: 0
|
|
21
|
+
m_IsActive: 1
|
|
22
|
+
--- !u!224 &1317510658378005132
|
|
23
|
+
RectTransform:
|
|
24
|
+
m_ObjectHideFlags: 0
|
|
25
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
26
|
+
m_PrefabInstance: {fileID: 0}
|
|
27
|
+
m_PrefabAsset: {fileID: 0}
|
|
28
|
+
m_GameObject: {fileID: 1317510658378005135}
|
|
29
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
30
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
31
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
32
|
+
m_ConstrainProportionsScale: 1
|
|
33
|
+
m_Children: []
|
|
34
|
+
m_Father: {fileID: 0}
|
|
35
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
36
|
+
m_AnchorMin: {x: 0, y: 1}
|
|
37
|
+
m_AnchorMax: {x: 1, y: 1}
|
|
38
|
+
m_AnchoredPosition: {x: 0, y: 0}
|
|
39
|
+
m_SizeDelta: {x: 0, y: 100}
|
|
40
|
+
m_Pivot: {x: 0.5, y: 1}
|
|
41
|
+
--- !u!114 &1317510658378005131
|
|
42
|
+
MonoBehaviour:
|
|
43
|
+
m_ObjectHideFlags: 0
|
|
44
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
45
|
+
m_PrefabInstance: {fileID: 0}
|
|
46
|
+
m_PrefabAsset: {fileID: 0}
|
|
47
|
+
m_GameObject: {fileID: 1317510658378005135}
|
|
48
|
+
m_Enabled: 1
|
|
49
|
+
m_EditorHideFlags: 0
|
|
50
|
+
m_Script: {fileID: 11500000, guid: 8be7ec1c8220b43219526a325660cf5b, type: 3}
|
|
51
|
+
m_Name:
|
|
52
|
+
m_EditorClassIdentifier:
|
|
53
|
+
context: {fileID: 11400000, guid: 0bc8e73663fc14bf59f408eeda954259, type: 2}
|
|
54
|
+
text: {fileID: 4830871185914423682}
|
|
55
|
+
--- !u!23 &1703808840652951401
|
|
56
|
+
MeshRenderer:
|
|
57
|
+
m_ObjectHideFlags: 0
|
|
58
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
59
|
+
m_PrefabInstance: {fileID: 0}
|
|
60
|
+
m_PrefabAsset: {fileID: 0}
|
|
61
|
+
m_GameObject: {fileID: 1317510658378005135}
|
|
62
|
+
m_Enabled: 1
|
|
63
|
+
m_CastShadows: 0
|
|
64
|
+
m_ReceiveShadows: 0
|
|
65
|
+
m_DynamicOccludee: 1
|
|
66
|
+
m_StaticShadowCaster: 0
|
|
67
|
+
m_MotionVectors: 1
|
|
68
|
+
m_LightProbeUsage: 1
|
|
69
|
+
m_ReflectionProbeUsage: 1
|
|
70
|
+
m_RayTracingMode: 2
|
|
71
|
+
m_RayTraceProcedural: 0
|
|
72
|
+
m_RenderingLayerMask: 1
|
|
73
|
+
m_RendererPriority: 0
|
|
74
|
+
m_Materials:
|
|
75
|
+
- {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
76
|
+
m_StaticBatchInfo:
|
|
77
|
+
firstSubMesh: 0
|
|
78
|
+
subMeshCount: 0
|
|
79
|
+
m_StaticBatchRoot: {fileID: 0}
|
|
80
|
+
m_ProbeAnchor: {fileID: 0}
|
|
81
|
+
m_LightProbeVolumeOverride: {fileID: 0}
|
|
82
|
+
m_ScaleInLightmap: 1
|
|
83
|
+
m_ReceiveGI: 1
|
|
84
|
+
m_PreserveUVs: 0
|
|
85
|
+
m_IgnoreNormalsForChartDetection: 0
|
|
86
|
+
m_ImportantGI: 0
|
|
87
|
+
m_StitchLightmapSeams: 1
|
|
88
|
+
m_SelectedEditorRenderState: 3
|
|
89
|
+
m_MinimumChartSize: 4
|
|
90
|
+
m_AutoUVMaxDistance: 0.5
|
|
91
|
+
m_AutoUVMaxAngle: 89
|
|
92
|
+
m_LightmapParameters: {fileID: 0}
|
|
93
|
+
m_SortingLayerID: 2133285829
|
|
94
|
+
m_SortingLayer: 13
|
|
95
|
+
m_SortingOrder: 0
|
|
96
|
+
m_AdditionalVertexStreams: {fileID: 0}
|
|
97
|
+
--- !u!114 &4830871185914423682
|
|
98
|
+
MonoBehaviour:
|
|
99
|
+
m_ObjectHideFlags: 0
|
|
100
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
101
|
+
m_PrefabInstance: {fileID: 0}
|
|
102
|
+
m_PrefabAsset: {fileID: 0}
|
|
103
|
+
m_GameObject: {fileID: 1317510658378005135}
|
|
104
|
+
m_Enabled: 1
|
|
105
|
+
m_EditorHideFlags: 0
|
|
106
|
+
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
|
107
|
+
m_Name:
|
|
108
|
+
m_EditorClassIdentifier:
|
|
109
|
+
m_Material: {fileID: 0}
|
|
110
|
+
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
111
|
+
m_RaycastTarget: 1
|
|
112
|
+
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
113
|
+
m_Maskable: 1
|
|
114
|
+
m_OnCullStateChanged:
|
|
115
|
+
m_PersistentCalls:
|
|
116
|
+
m_Calls: []
|
|
117
|
+
m_text: 0
|
|
118
|
+
m_isRightToLeft: 0
|
|
119
|
+
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
120
|
+
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
121
|
+
m_fontSharedMaterials: []
|
|
122
|
+
m_fontMaterial: {fileID: 0}
|
|
123
|
+
m_fontMaterials: []
|
|
124
|
+
m_fontColor32:
|
|
125
|
+
serializedVersion: 2
|
|
126
|
+
rgba: 4294967295
|
|
127
|
+
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
|
|
128
|
+
m_enableVertexGradient: 0
|
|
129
|
+
m_colorMode: 3
|
|
130
|
+
m_fontColorGradient:
|
|
131
|
+
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
|
132
|
+
topRight: {r: 1, g: 1, b: 1, a: 1}
|
|
133
|
+
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
|
134
|
+
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
|
135
|
+
m_fontColorGradientPreset: {fileID: 0}
|
|
136
|
+
m_spriteAsset: {fileID: 0}
|
|
137
|
+
m_tintAllSprites: 0
|
|
138
|
+
m_StyleSheet: {fileID: 0}
|
|
139
|
+
m_TextStyleHashCode: -1183493901
|
|
140
|
+
m_overrideHtmlColors: 0
|
|
141
|
+
m_faceColor:
|
|
142
|
+
serializedVersion: 2
|
|
143
|
+
rgba: 4294967295
|
|
144
|
+
m_fontSize: 8.95
|
|
145
|
+
m_fontSizeBase: 36
|
|
146
|
+
m_fontWeight: 400
|
|
147
|
+
m_enableAutoSizing: 1
|
|
148
|
+
m_fontSizeMin: 0.1
|
|
149
|
+
m_fontSizeMax: 500
|
|
150
|
+
m_fontStyle: 1
|
|
151
|
+
m_HorizontalAlignment: 2
|
|
152
|
+
m_VerticalAlignment: 512
|
|
153
|
+
m_textAlignment: 65535
|
|
154
|
+
m_characterSpacing: -7
|
|
155
|
+
m_wordSpacing: 0
|
|
156
|
+
m_lineSpacing: 0
|
|
157
|
+
m_lineSpacingMax: 0
|
|
158
|
+
m_paragraphSpacing: 0
|
|
159
|
+
m_charWidthMaxAdj: 0
|
|
160
|
+
m_enableWordWrapping: 0
|
|
161
|
+
m_wordWrappingRatios: 0.4
|
|
162
|
+
m_overflowMode: 0
|
|
163
|
+
m_linkedTextComponent: {fileID: 0}
|
|
164
|
+
parentLinkedComponent: {fileID: 0}
|
|
165
|
+
m_enableKerning: 1
|
|
166
|
+
m_enableExtraPadding: 0
|
|
167
|
+
checkPaddingRequired: 0
|
|
168
|
+
m_isRichText: 1
|
|
169
|
+
m_parseCtrlCharacters: 1
|
|
170
|
+
m_isOrthographic: 0
|
|
171
|
+
m_isCullingEnabled: 0
|
|
172
|
+
m_horizontalMapping: 0
|
|
173
|
+
m_verticalMapping: 0
|
|
174
|
+
m_uvLineOffset: 0
|
|
175
|
+
m_geometrySortingOrder: 0
|
|
176
|
+
m_IsTextObjectScaleStatic: 0
|
|
177
|
+
m_VertexBufferAutoSizeReduction: 0
|
|
178
|
+
m_useMaxVisibleDescender: 1
|
|
179
|
+
m_pageToDisplay: 1
|
|
180
|
+
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
|
181
|
+
m_isUsingLegacyAnimationComponent: 0
|
|
182
|
+
m_isVolumetricText: 0
|
|
183
|
+
_SortingLayer: 0
|
|
184
|
+
_SortingLayerID: 0
|
|
185
|
+
_SortingOrder: 0
|
|
186
|
+
m_hasFontAssetChanged: 0
|
|
187
|
+
m_renderer: {fileID: 1703808840652951401}
|
|
188
|
+
m_maskType: 0
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
using UnityEngine;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
|
|
4
|
+
namespace Amanotes.MagicTilesCore
|
|
5
|
+
{
|
|
6
|
+
public class ParticleSystemPlayer : MonoBehaviour
|
|
7
|
+
{
|
|
8
|
+
[SerializeField] private List<ParticleSystem> _particleSystems = new List<ParticleSystem>();
|
|
9
|
+
|
|
10
|
+
public void Play(string particleName)
|
|
11
|
+
{
|
|
12
|
+
foreach (var particle in _particleSystems)
|
|
13
|
+
{
|
|
14
|
+
if (particle.name.Equals(particleName))
|
|
15
|
+
{
|
|
16
|
+
particle.ResetAndPlay();
|
|
17
|
+
} else
|
|
18
|
+
{
|
|
19
|
+
particle.ResetAndStop();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public void Stop()
|
|
25
|
+
{
|
|
26
|
+
foreach (var particle in _particleSystems)
|
|
27
|
+
{
|
|
28
|
+
particle.ResetAndStop();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections;
|
|
3
|
+
using System.Collections.Generic;
|
|
4
|
+
using Amanotes.Core;
|
|
5
|
+
using UnityEditor;
|
|
6
|
+
using UnityEngine;
|
|
7
|
+
using UnityEngine.Serialization;
|
|
8
|
+
|
|
9
|
+
namespace Amanotes.MagicTilesCore
|
|
10
|
+
{
|
|
11
|
+
public class RendererAlpha : MonoBehaviour
|
|
12
|
+
{
|
|
13
|
+
[SerializeField] private List<SpriteRenderer> targets = new List<SpriteRenderer>();
|
|
14
|
+
[SerializeField] private List<MeshRenderer> meshes = new List<MeshRenderer>();
|
|
15
|
+
|
|
16
|
+
[FormerlySerializedAs("alpha")] [SerializeField] [Range(0f, 1f)] private float _alpha;
|
|
17
|
+
|
|
18
|
+
#if UNITY_EDITOR
|
|
19
|
+
private void OnValidate()
|
|
20
|
+
{
|
|
21
|
+
if (PrefabUtility.IsPartOfPrefabAsset(gameObject)) return;
|
|
22
|
+
#pragma warning disable UDR0005
|
|
23
|
+
EditorApplication.delayCall += Refresh;
|
|
24
|
+
#pragma warning restore UDR0005
|
|
25
|
+
}
|
|
26
|
+
#endif
|
|
27
|
+
|
|
28
|
+
public float alpha => _alpha;
|
|
29
|
+
|
|
30
|
+
public void SetAlpha(float value)
|
|
31
|
+
{
|
|
32
|
+
_alpha = Mathf.Clamp01(value);
|
|
33
|
+
Refresh();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
void Refresh()
|
|
37
|
+
{
|
|
38
|
+
for (var i = 0; i < targets.Count; i++)
|
|
39
|
+
{
|
|
40
|
+
var sprt = targets[i];
|
|
41
|
+
if (sprt == null) return;
|
|
42
|
+
|
|
43
|
+
var c = sprt.color;
|
|
44
|
+
c.a = _alpha;
|
|
45
|
+
sprt.color = c;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
for (var i = 0; i < meshes.Count; i++)
|
|
49
|
+
{
|
|
50
|
+
var r = meshes[i];
|
|
51
|
+
if (r == null) return;
|
|
52
|
+
r.CloneAndSetAlpha(_alpha);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|