public override TaskStatus OnUpdate() { if (item == null) { return(TaskStatus.Failure); } item.Use(); return(TaskStatus.Success); }
public override void OnEnter() { item.Use(); Finish(); }
public override BlockReturn Run(BlockReturn param) { item.Use(); return(BlockReturn.OK); }