Ejemplo n.º 1
0
        public override void SetOwner(GameObject owner)
        {
            base.SetOwner(owner);

            ownerStats = owner.GetComponent <CreatureStats>();
            ownerStats.SetCanAct(false);
        }
Ejemplo n.º 2
0
        public override void Removed()
        {
            base.Removed();

            ownerStats.SetCanAct(true);
        }