Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Arbor
* 猫が茂みに居るStatusになった際に、次のStateを呼び出します
public class ArborCatStateStageIn : StateBehaviour {
[SerializeField] private Cat _Cat; // 猫Object, GameObjectまで不要なのでComponentを取得
[SerializeField] private StateLink _NextState; // 次のState
void Start() {}
void Update() {
if (_Cat.CurrentState == Cat.CatState.Stay_StageIn) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment