My project lets users create different kinds and colors of 3D prefabs of flowers by interacting with dropdown menus and buttons. Users can also spawn in a special flower that stays hidden until scaled up by the slider below. Flower prefabs are destroyed when another option is picked for the dropdown and buttons respectively. Users mouse input and location is also tracked and user can tap “f” to create patches of flower prefabs to add to the environment.

  1. Features: The project has 4 feature below
  • Feature 1: Flower Dropdown
    • Input: Mouse Left Click On Dropdown Menu
    • Process: Left click on the dropdown menu and choice between 3 options of prefab flowers
    • Output: A prefab of flowers in a flowerpot is created and can vary in shape and color depending on which option is selected. The user can change their mind and choose another flower and the previous one will be deleted
    • Difference: Created a prefab and destroys the previous one when a new one is selected
  • Feature 2: Mouse Position
    • Input: Mouse Movement/Location
    • Input 2: tapping the “f” key
    • Process: assigns the mouse X and Y in the world space to a tmp pro text
    • Process 2: gets the location of mouse X and Y when “f” is tapped
    • Output: Text at the top left displays the mouse location
    • Output 2: creates prefab of flowers at mouse position
    • Difference: Creates a prefab and permanently leaves it on the scene, giving user more control by using a key press rather then a mouse press which can be held for a while when not intended
  • Feature 3: Scaling Flower Slider
    • Input: Left click on special flower button and dragging slider
    • Process: Creates a prefab of a flower, takes the value on the slider wen dragged and applies it to the scale of the flower
    • Output: A scalable flower
  • Feature 4: Flower Arrangement Button
    • Input: left click on 3 different buttons
    • Process: each button hold a different prefab of flowers but arranged differently in a vase that can be created when pressed and deleted when a new one is chosen
    • Output: Arrangement of different flowers that can be replaced if user changes their mind