mauroc8 / DesignPatternsInUnity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design Patterns Examples

Engine

Unity 2019.2

About

This repository will hold several implementations of design patterns that I have used in the past or that I'd like to explore.

The implementation will try to be really simple to serve as educational for my university students.

Pattern List

  1. Finite State Machine:

    Character FSM Sample:

     The State Machine initialize on Idle State. 
     Use 'Space' bar to switch to Walk State, 'W' to switch to Run State and 'S' to return to Idle State.
    
  2. Finite State Machine With Animations:

    Character FSM:

     Based on Sample 1, it integrate Animation control trought FSM states.
     The State Machine initialize on Idle State. 
     Use 'A'  to switch to Color State, 'S' to switch to Scale State and 'D' to return to Idle State.
    

About


Languages

Language:C# 100.0%