public PickGoatStateMachine(PickGoatController _controller) : base() { c = _controller; AddMine(); AddWalk(); }
void Start() { animator = GetComponentInChildren <Animator>(); pgC = GetComponent <PickGoatController>(); pgC.OnDestroyed += CatchDestroyed; }