Publisher | Sword-Master |
---|---|
File size | 40.41MB |
Number of files | 76 |
Latest version | 1 |
Latest release date | 2019-12-09 10:40:22 |
First release date | 2018-01-24 12:54:23 |
Supported Unity versions | 2018.4.2 or higher |
This Finite State Machine System is much more professional, and is developed for the programmer who has previous knowledge about the finite state machine concept.
Features
- You can create your own state classes derived from the FSMState class in the framework and override its OnEnter(),OnUpdate() and OnExit() functions if necessary.No more silly enums and switch cases!
-One state linked to another,is created by the transition class,in other words,the transition class link one state to another state called the next state,besides, it hold the next state reference and a list of condition which determine whether to change to next state or not.
- In this framework,each condition class is separated,and you should create your own condition by Implement the condition interface : IFSMTransitionCondition.
- When you want to link one state to another, you don't need to create the transition by yourself,just to use the CreateFSMStateToAnotherFSMStateTransition API in this framework,all you need to do is to input two state names and some conditions,the framework will create a transition between two states automatically.
- There is a simple tank battle demo in this package,the AI tank is implemented by this finite state machine framework.so you can easy to learn how to use this framework by studying the code in the demo.
- In this package,the readme file described about how to use this framework and how the AI tank in demo be coded in detail.
If you have any questions ,please email [email protected]