Definition at line 4 of file UIAutoTurn.cs.
void UIAutoTurn._Update |
( |
| ) |
|
|
inlineprivate |
Definition at line 21 of file UIAutoTurn.cs.
22 {
23 float now = 0f;
24 float num = 0f;
27 {
29 {
30 num = 1f;
32 {
34 {
36 }
37 }
38 }
40 {
43 {
44 if (progress != null)
45 {
47 num = (progress.ShowProgress ? progress.MaxProgress : 0);
48 now = (progress.ShowProgress ? progress.progress : 0);
49 }
50 else
51 {
53 now = (EMono.pc.ai.ShowProgress ? EMono.pc.ai.CurrentProgress : 0);
54 }
55 }
56 }
57 }
58 if (!
gauge.gameObject.activeSelf && num != 0f)
59 {
60 gauge.bar.rectTransform.sizeDelta =
new Vector2(0f,
gauge.
bar.rectTransform.sizeDelta.y);
61 }
62 gauge.SetActive(num != 0f);
63 if (num != 0f)
64 {
69 {
71 }
73 }
74 }
List< Condition > conditions
void UpdateValue(float now, float _max)
References Chara.ai, Gauge.bar, Chara.conditions, EMono.core, count, gauge, AIAct.GetProgress(), Chara.HasNoGoal, hint, iconSprites, AIAct.IsAutoTurn, Core.IsGameStarted, AIAct.MaxProgress, EMono.pc, UIText.SetText(), AIProgress.TextHint, Gauge.textNow, Gauge.UpdateValue(), and Chara.WillConsumeTurn().