【スクリプト】Weapon.cs作成

【スクリプト】GameState.cs作成

【スクリプト】FPSController.cs編集


【ヒエラルキ】PlayerモデルにWeaponコンポーネント追加

アニメーション追加

Playerモデルを選択
アニメーション > Fire

打ち終わった後の列でイベント追加


【スクリプト】Weapon.cs作成
【スクリプト】GameState.cs作成
【スクリプト】FPSController.cs編集
【ヒエラルキ】PlayerモデルにWeaponコンポーネント追加
アニメーション追加
Playerモデルを選択
アニメーション > Fire
打ち終わった後の列でイベント追加