System Architecture
Components
- ClothingItem - An abstract class representing a single item of clothing. Contains methods for updating the favourites list, calling the API and updating the currently displayed item.
- TopItem - A MonoBehaviour class inheriting from ClothingItem, and attached to the gameObject being displayed as the Tops.
- BottomItem - A MonoBehaviour class inheriting from ClothingItem, and attached to the gameObject being displayed as the Bottoms. This allows for scalability in creating outfits from a larger set of items
- GazeGestureManager - A MonoBehaviour class for managing where the user is gazing (using ray casting). Contains methods for returning the gameObject currently being gazed at, and updating the gaze cursor in 3D space.
- ViewAction - A MonoBehaviour class for handling the 'view favourites' action. Contains methods for managing the applications functionality in the transition to the view screen, and back to the home screen.
- LikeAction - A MonoBehaviour class for handling the 'add to favourites' action. Contains methods for adding the currently displayed outfit to the respective favourites lists, and animating the add-to-favourites button on selection.