37 b.onClick.AddListener(delegate
47 ELayer.Branch.policies.RefreshEffects();
52 b.tooltip.onShowTooltip = delegate(
UITooltip tp)
68 list.GetComponentInChildren<CanvasGroup>().alpha = ((list.
items.Count > 0) ? 0.9f : 0.4f);
75 for (
int i = 0; i < array.Length; i++)
77 UIButton[] componentsInChildren = array[i].GetComponentsInChildren<
UIButton>();
78 foreach (
UIButton obj
in componentsInChildren)
81 obj.icon.material = (policy.active ? null :
matGrayscale);
static FactionBranch Branch
void RefreshPolicyList(UIList list, string cat, string plan)
void RefreshPolicyIcons()
int GetSortVal(UIList.SortMode m)
override void Add(object item)