public override void Init() { base.Init(); if (!UIPerkScreen.UseCustomLayout()) { return; } foreach (Transform child in rectT) { if (child.name == "ConnectorBase") { connectorB = child.gameObject; } if (child.name == "Connector") { connector = child.gameObject; } } }
public override void Awake() { base.Awake(); instance = this; }
void OnPerkButton(GameObject butObj, int pointerID = -1) { UIPerkScreen.Show(); }