FelobateerShenoda_IT201450_Project1
Feature 1: Display Mouse Position
Input: Mouse moving anywhere on the screen
Process: The script reads mouse X and Y coordinates
Output: Text updates live showing the mouse position on the screen
Feature 2: Spawn Shape on Button Click
Input: User clicks the “Drop Shape” button
Process: The script converts mouse screen position to world coordinates and spawns the selected 3D shape prefab at that position
Output: A 3D shape appears at the mouse location in the scene
Feature 3: Change Shape Type
Input: User selects shape type from dropdown menu
Process: The script changes which prefab is used when spawning new shapes
Output: New shapes spawned use the selected shape type (cube, sphere, or cylinder)
Feature 4: Change Shape Size
Input: User adjusts size slider
Process: The script changes the scale factor applied to newly spawned shapes
Output: New shapes spawn with the selected size
Feature 5: Destroy Shapes and Count
Input: User clicks on a spawned shape
Process: The shape detects the click, destroys itself, and increases count.
Output: The shape disappears, and the destroyed count on UI updates
This game lets users spawn 3D shapes (cube, sphere, cylinder) on the screen by clicking a button. It shows the mouse position in real-time on the UI. The user can pick which shape to spawn and change its size using a dropdown menu and slider. Shapes can be destroyed by clicking on them, which updates a counter on the screen. The project creates a simple interactive 3D environment with clear controls.