public PickGoatStateMachine(PickGoatController _controller) : base()
        {
            c = _controller;

            AddMine();
            AddWalk();
        }
Exemple #2
0
 void Start()
 {
     animator         = GetComponentInChildren <Animator>();
     pgC              = GetComponent <PickGoatController>();
     pgC.OnDestroyed += CatchDestroyed;
 }