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

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