Ejemplo n.º 1
0
        public override ActionStatus OnUpdate()
        {
            EquipmentHandler handler = playerInfo.gameObject.GetComponent <EquipmentHandler>();

            handler.UpdateEquipment();
            return(ActionStatus.Success);
        }
Ejemplo n.º 2
0
        public override void OnInterrupt()
        {
            EquipmentHandler handler = playerInfo.gameObject.GetComponent <EquipmentHandler>();

            handler.UpdateEquipment();
        }