Question: Flyweight Design Pattern and in C# . For use in Unity 3 D Create UI for the user to interact with. The user will be

Flyweight Design Pattern and in C#. For use in Unity3D
Create UI for the user to interact with.
The user will be able to select one of three shapes (Sphere, Cube, Cylinder).
The user will be able to select one of three colors (Red, Green, Blue).
The user will be able to select one of three sizes (Small, Medium, Large)
Creation Button. The user will push this button and the game will create the object based on the three selections given.
Create a holding are for the unused objects.
This must be a location in your scene.
This can be a simple box or you can have fun with this and create a holding pin for the objects.
Usually this area would be outside the visible area for the player, but we want to see the object stored in the holding area.
Create a creation area for the items showing.
This must be located in your scene.
This can be anyplace in your scene but it cannot be the holding area.
Only two items created by the user will show at any given time outside the holding area. When a third item is created the first item created will be placed in the holding area to make room for the new item.
An Item is created when there is not an item like it in the holding area.
If there is an item in the holding area that the player wants, then use that object and not create a new object.
This project has to work in Unity3D.
All code will be done in C#.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!