UML Class Diagram
UML Class Diagram - Project 1
Last updated
UML Class Diagram - Project 1
Last updated
The UML Class Diagram below represents the set of Classes used in Project1. The diagram represents the Name, Properties (variables) and Methods for each class.
The UML Class diagram also represents relationships between classes such as inheritance, where a child-class has an arrow that points to it's base-class.
Access modifiers are displayed in the diagram's key:
+
public
-
private
#
protected
Within each class, the access modifiers are indicated for each class variable and class method. Classes must also have access modifiers defined, all classes we create be public.
In the diagram below, it can be seen that most of the classes have MonoBehaviour as the base-class.
The Utility class and enums do not have MonoBehaviour as their base-class so they can't be added as a component to a gameObject.