10 public override void OnInstantiate()
21 where t.tag.Contains(
"pc")
23 this.toggleDetail.SetToggle(at.detail, delegate(
bool a)
25 at.detail = !at.detail;
28 this.transDetail.SetActive(at.detail);
32 EClass.pc._tactics = null;
34 this.togglePrefKeepPlaying.SetToggle(pref.keepPlayingMusic, delegate(
bool on)
36 pref.keepPlayingMusic = on;
38 this.togglePickFish.SetToggle(pref.pickFish, delegate(
bool on)
42 this.toggleAbortOnKill.SetToggle(at.abortOnKill, delegate(
bool on)
46 this.toggleAbortOnAllyDying.SetToggle(at.abortOnAllyDying, delegate(
bool on)
48 at.abortOnAllyDying = on;
50 this.toggleAbortOnAllyDead.SetToggle(at.abortOnAllyDead, delegate(
bool on)
52 at.abortOnAllyDead = on;
54 this.toggleOnEnemyDead.SetToggle(at.abortOnEnemyDead, delegate(
bool on)
56 at.abortOnEnemyDead = on;
58 this.toggleOnHalfHP.SetToggle(at.abortOnHalfHP, delegate(
bool on)
60 at.abortOnHalfHP = on;
62 this.toggleBUseHotbar.SetToggle(at.bUseHotBar, delegate(
bool on)
66 this.toggleBUseFav.SetToggle(at.bUseFav, delegate(
bool on)
70 this.toggleBCastParty.SetToggle(at.bCastParty, delegate(
bool on)
74 this.toggleBUseInventory.SetToggle(at.bUseInventory, delegate(
bool on)
76 at.bUseInventory = on;
78 this.toggleBDontAutoAttackNeutral.SetToggle(at.bDontAutoAttackNeutral, delegate(
bool on)
80 at.bDontAutoAttackNeutral = on;
82 this.toggleBTurbo.SetToggle(at.turbo, delegate(
bool on)
86 this.toggleBDontChangeTarget.SetToggle(at.bDontChangeTarget, delegate(
bool on)
88 at.bDontChangeTarget = on;
90 this.toggleBDontChase.SetToggle(at.bDontChase, delegate(
bool on)
94 this.toggleFollowDist.SetToggle(
EClass.game.config.tactics.allyKeepDistance, delegate(
bool on)
96 EClass.game.config.tactics.allyKeepDistance = on;
98 this.toggleDontWander.SetToggle(
EClass.game.config.tactics.dontWander, delegate(
bool on)
100 EClass.game.config.tactics.dontWander = on;
102 base.transform.RebuildLayout(
true);
103 base.transform.RebuildLayoutTo<Layer>();
107 public UIButton toggleFollowDist;
110 public UIButton toggleDontWander;
113 public UIButton toggleAbortOnAllyDying;
116 public UIButton toggleAbortOnAllyDead;
119 public UIButton toggleAbortOnKill;
122 public UIButton toggleOnEnemyDead;
125 public UIButton toggleOnHalfHP;
128 public UIButton toggleBUseHotbar;
131 public UIButton toggleBUseFav;
134 public UIButton toggleBUseInventory;
137 public UIButton toggleBTurbo;
140 public UIButton toggleBCastParty;
143 public UIButton toggleBDontChangeTarget;
146 public UIButton toggleBDontAutoAttackNeutral;
149 public UIButton toggleBDontChase;
152 public UIButton toggleDetail;
155 public UIButton togglePrefKeepPlaying;
158 public UIButton togglePickFish;
161 public UIDropdown ddTactics;
164 public Transform transDetail;