void LayoutAgeGate(int windowID) { GUILayout.Space(BANNER_HEIGHT); GUILayout.Label("Want to pass the age gate?"); GUILayout.BeginHorizontal(GUILayout.Width(ELEMENT_WIDTH)); if (GUILayout.Button("YES")) { Chartboost.didPassAgeGate(true); activeAgeGate = false; } if (GUILayout.Button("NO")) { Chartboost.didPassAgeGate(false); activeAgeGate = false; } GUILayout.EndHorizontal(); }
void ProcessWrongAnswer() { ChartBoostView.IncorrectText.gameObject.SetActive(true); if (_attempt > ATTEMPT_ALLOW) { Chartboost.didPassAgeGate(false); SetMenuStateTriggerSignal.Dispatch(MenuStateTrigger.Next); } }
// Token: 0x06000015 RID: 21 RVA: 0x00002EA8 File Offset: 0x000012A8 private void LayoutAgeGate(int windowID) { GUILayout.Space((float)this.BANNER_HEIGHT); GUILayout.Label("Want to pass the age gate?", new GUILayoutOption[0]); GUILayout.BeginHorizontal(new GUILayoutOption[] { GUILayout.Width((float)this.ELEMENT_WIDTH) }); if (GUILayout.Button("YES", new GUILayoutOption[0])) { Chartboost.didPassAgeGate(true); this.activeAgeGate = false; } if (GUILayout.Button("NO", new GUILayoutOption[0])) { Chartboost.didPassAgeGate(false); this.activeAgeGate = false; } GUILayout.EndHorizontal(); }
void ProcessRightAnswer() { ChartBoostView.IncorrectText.gameObject.SetActive(false); Chartboost.didPassAgeGate(true); SetMenuStateTriggerSignal.Dispatch(MenuStateTrigger.Next); }