Enhance maze generation animation system with visual feedback during algorithm execution and a two-phase rendering approach: - Phase 1: Preview mode displays simple blocks while algorithms run, with real-time feedback for path checking (valid/invalid/evaluating states) - Phase 2: Sweep 3D modular pieces into place with pop-in animations Updates: - New MazeCellHighlight states (EvaluatingValid, EvaluatingInvalid) for algorithm feedback - Modified all maze algorithms (DFS, Kruskal's, Prim's) to emit visual feedback when checking adjacent cells - New animation components: HighlightLinger (self-destruct highlights) and PopInAnimation (juicy pop-in effect) - Refactored MazeReworkSpawner to support preview prefabs and track spawned object state - New prefabs: Stair room and MazeVisualize variants - Added stepDelay and isPreviewMode controls to MazeAnimator for flexible pacing - Reduced default maze size and adjusted material colors for testing
64 lines
2.6 KiB
Plaintext
64 lines
2.6 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1001 &5190178037283309069
|
|
PrefabInstance:
|
|
m_ObjectHideFlags: 0
|
|
serializedVersion: 2
|
|
m_Modification:
|
|
serializedVersion: 3
|
|
m_TransformParent: {fileID: 0}
|
|
m_Modifications:
|
|
- target: {fileID: 4040231326986631665, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_Name
|
|
value: MazeVisualize 1 1 1 1
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalPosition.x
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalPosition.y
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalPosition.z
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalRotation.w
|
|
value: 1
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalRotation.x
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalRotation.y
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalRotation.z
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalEulerAnglesHint.x
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalEulerAnglesHint.y
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8269670262406082667, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: m_LocalEulerAnglesHint.z
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 8340010703106068095, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|
|
propertyPath: 'm_Materials.Array.data[0]'
|
|
value:
|
|
objectReference: {fileID: 2100000, guid: b744dec6d360a4c4cbeb2fd16000bf53, type: 2}
|
|
m_RemovedComponents: []
|
|
m_RemovedGameObjects: []
|
|
m_AddedGameObjects: []
|
|
m_AddedComponents: []
|
|
m_SourcePrefab: {fileID: 100100000, guid: dbc41620be31d434784e8df8019f7c2d, type: 3}
|