View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 6000.4.10 or later
- Package size
- 495 KB
- Files
- 54
- Favorites
- 5
- Views in the past week
- 11
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.50 on
Keywords
Puzzle Cube System
Fully working Puzzle Cube system for Unity with support for Standard Cubes and Mirror Cubes from 2x2 to 9x9, smooth rotation, undo/redo, scramble, solve detection, drop in & play
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
Puzzle Cube System screenshot 1
About this asset
Puzzle Cube System is a complete puzzle cube framework for Unity supporting both Standard Cubes and Mirror Cubes from 2x2 all the way up to 9x9 sizes. Switch between cube sizes or cube types at runtime with ease. Converting a Standard Cube into a Mirror Cube is as simple as changing a single enum value in the Unity Inspector. Mirror Cubes support the full 2x2 to 9x9 range with realistic shapeshifting mechanics.
The camera automatically adjusts to cube size changes and the system works on PC, Android, iOS, and WebGL.
Features
- Supports Standard Cubes and Mirror Cubes.
- Cube sizes from 2x2 up to 9x9.
- Runtime switching between cube sizes and cube modes.
- Full undo and redo with complete move history.
- Scramble system with 25 random moves.
- Solve detection event triggered when the cube is completed.
- Live 2D Cube Map displaying all six faces in real time.
- Customizable face colors directly from the Inspector.
- Smooth layer rotations with adjustable speed and spacing.
- Automatic camera adjustment based on cube size.
- Cross platform support for PC, Android, iOS, and WebGL.
Input
Desktop
- Drag on a face to rotate that layer.
- Left click and drag in empty space to orbit the camera.
- Scroll wheel to zoom in and out.
- Double click to snap the cube to the nearest 90° angle for improved viewing.
Mobile
- Single finger drag for cube interaction.
- Two finger pinch to zoom.
- Drag in empty space to orbit the camera around the cube.
Code Architecture
Built with a modular and extensible architecture where game logic, cube mathematics, input handling, events, and visuals are cleanly separated. Standard Cube and Mirror Cube implementations share a common interface, making it easy to add new cube types or custom gameplay features. Designed for readability, maintainability, and easy integration into existing projects.
Documentation : https://ray-vision-studio.gitbook.io/puzzle-cube-system
From the publisher's Asset Store listing.
Technical details
Input System: Unity New Input System
Platforms: PC, Android, iOS, WebGL
Scripts
- Total Scripts: 12 C# scripts
- Modular architecture with separated game logic, cube data, input, events, UI, and visual systems.
- Standard Cube and Mirror Cube implementations share a common interface for easy extension and customization.
- Designed for readability, maintainability, and integration into existing projects.
Cube System
- Supports both Standard Cubes and Mirror Cubes.
- Supported Sizes: 2x2 to 9x9.
- Mirror Cube shape shifting mechanics supported across all sizes.
- Runtime switching between cube sizes and cube modes.
- Maximum Pieces: 730 (9x9 Mirror Cube).
- Undo and Redo history.
- 25 move scramble system with move normalization and axis repetition prevention.
- Solve detection runs automatically after every move.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.4.10f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.