public override ActionStatus OnUpdate() { EquipmentHandler handler = playerInfo.gameObject.GetComponent <EquipmentHandler>(); handler.UpdateEquipment(); return(ActionStatus.Success); }
public override void OnInterrupt() { EquipmentHandler handler = playerInfo.gameObject.GetComponent <EquipmentHandler>(); handler.UpdateEquipment(); }