private void StartClose() { LayoutElement viewPortHandle = this.view_port_handle; viewPortHandle.set_minHeight(viewPortHandle.get_minHeight() + this.click_target[0].TargetViewPortSize); this.click_target[0].StartClose(); }
private void ScaleDownBanners() { if (this.isScaledDown) { return; } this.isScaledDown = true; this.isQuestFilter = true; Transform transform = ((Component)this).get_transform(); for (int index = transform.get_childCount() - 1; index >= 0; --index) { Transform child = transform.GetChild(index); if (!Object.op_Equality((Object)child, (Object)null)) { LayoutElement component = (LayoutElement)((Component)child).GetComponent <LayoutElement>(); if (Object.op_Inequality((Object)component, (Object)null)) { LayoutElement layoutElement1 = component; layoutElement1.set_minWidth(layoutElement1.get_minWidth() * 0.7f); LayoutElement layoutElement2 = component; layoutElement2.set_minHeight(layoutElement2.get_minHeight() * 0.7f); } } } }