public void Show() { if (hangingButton != null) { hangingButton.Show(0.5f); } if (isDisabled) { isClickable = true; isDisabled = false; zobject.SetShowAlpha(1); } wasPressed = false; state = ButtonState.EActive; if (clickStyle == (int)ButtonClickStyle.kButtonClick_Highlight) { zobject.SetTexture(normalTexture); } zobject.SetScreenPosition(position); zobject.SetState(ZobjectState.kZobjectHidden); zobject.Show(); if (zobjectLabel != null) { CGPoint labePos = Utilities.CGPointMake(position.x + labelOffset.x, position.y + labelOffset.y); zobjectLabel.SetScreenPosition(labePos); zobjectLabel.SetState(ZobjectState.kZobjectHidden); zobjectLabel.Show(); } }