Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 1.18 KB

File metadata and controls

21 lines (21 loc) · 1.18 KB

unity-state-machine-sample

ステートマシンの実装サンプル
※処理詳細については下記記事参照。
【Unity】カニの動きで学ぶ有限ステートマシン(FSM)【ゲームAI】

[Unityバージョン]
2020.3.16f1

・カニのステート遷移実装
Sample01 enumを使用した実装
Sample02 classを使用した実装
Sample03 Sample02をステートマシンとして切り出したもの
Sample04 ステートマシンにステート状態の遷移情報を定義したもの
image-20211230-012308

・カニ夫婦のステート遷移実装
Sample05 Sample05をベースにアクタ間のやり取りを実装
image-20211230-012931

[スクリーンショット]
ScreenShot 2021-12-30 13 28 52