Tired of highly-dependant codes, or you're having a hard time implementing new mechanics ? You've gone into the right place, this is a very simple state machine i've made so i can easily handle entities states, you can use it for: character, enemies, and literally anything that can make use of the Finite-State-Machine design pattern, it's made primarily for 2D, but it's been proved to work nicely with 3D too.
- 1 - Open the package manager (Window > Package Manager)
- 2 - Click on the plus icon and "Add package from git URL..."
- 3 - Enter https://github.com/GabrielBigardi/State-Machine.git and click "Add"
- 4 - Wait until the package manager finishes installing the package and recompiling
- 1 - Download this repository as ZIP or by cloning it.
- 2 - Drag it into your "Assets" folder.
- Your code gets decoupled and easier to handle.
- When your code grows, things tends to get pretty messy and hard to maintain, FSM fix this.
- You can easily extend this FSM, for example: adding super/base-states, etc...
- You have full control of how your entities is handled.
That's as easy as clicking here.
Discord: Gabriel Bigardi#2292
Twitter: @BigardiGabriel
Email: gabrielbigardi@hotmail.com