8 public override bool CancelWhenMoved
12 return this.cancelWhenMoved;
18 public override bool CancelWhenDamaged
22 return this.cancelWhenDamaged;
28 public override int MaxProgress
32 return this.maxProgress;
38 public override bool ShowProgress
42 return this.showProgress;
48 public override int Interval
58 public override string TextHint
67 public override bool CanProgress()
69 Func<bool> func = this.canProgress;
70 return func ==
null || func();
74 public override void OnProgress()
76 Action<Progress_Custom> action = this.onProgress;
85 public override void OnProgressComplete()
87 Action action = this.onProgressComplete;
96 public override void OnBeforeProgress()
98 Action action = this.onBeforeProgress;
107 public override void OnProgressBegin()
109 Action action = this.onProgressBegin;
120 this.maxProgress = max;
121 this.interval = _interval;
126 public string textHint;
129 public int maxProgress = 20;
132 public int interval = 2;
135 public bool cancelWhenMoved =
true;
138 public bool cancelWhenDamaged =
true;
141 public bool showProgress =
true;
144 public Func<bool> canProgress;
147 public Action onBeforeProgress;
150 public Action onProgressComplete;
153 public Action onProgressBegin;
156 public Action<Progress_Custom> onProgress;