void AssignTooltips() { var temp = Resources.FindObjectsOfTypeAll <ShowAbilitiesUI>(); foreach (var item in temp) { if (item.RealOne) { RealTooltip = item; } else { UnrealTooltip = item; } } }
private void Start() { shower = GetComponent <ShowAbilitiesUI>(); }