2025-07-22 01:18:44 +05:00

26 lines
809 B
Plaintext

ZibuSlotMachine - Unity Scene Setup
===================================
🧱 Structure:
-------------
- Scene includes 3 ScrollRects: ScrollRect_Top, ScrollRect_Mid, ScrollRect_Bot
- Each contains 5 Image objects with ZibuPiece.cs script
- InfiniteScrollSnap.cs handles page-wise snapping and infinite loop
- ZibuSlotManager.cs checks for alignment match and triggers Win logic
🛠 How to Use:
--------------
1. Open the scene: ZibuSlotMachineScene.unity
2. Assign your top/mid/bottom sliced sprites to InfiniteScrollSnap.cs on each ScrollRect
3. Ensure image size and layout are consistent
4. Run and test scroll snapping and win detection
Scripts:
--------
- ZibuPiece.cs
- InfiniteScrollSnap.cs
- ZibuSlotManager.cs
Created for: Infinite scroll-based puzzle matcher with center-aligned win detection