Finite State Machine – Developed In Unity3D

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

  • 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.

  • 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.

  • In this package,the readme file described about how to use this framework and how the AI tank in demo be coded in detail.


Online Documents

Finite State Machine System Manual


Support Unity Versions

5.6.6 or higher


Download

You can download this asset from Unity Asset Store:Finite State Machine System


Connect Me:

发表评论

邮箱地址不会被公开。 必填项已用*标注