Learn Unity Roadmap/Design Patterns Command Pattern Topic 5 of 6 in Design Patterns1 code example The Command pattern encapsulates an action (or request) as an object. Instead of calling a method directly, you create a command object that represents the action and can be stored, queued, undone, or replayed. More in Design PatternsState MachineSingletonObserver PatternComponent PatternCommand PatternFactory Pattern PreviousComponent Pattern NextFactory Pattern All 157 topics in the Learn Unity Roadmap