private void CreateActionsSection() { GUILayout.Space((float)this._sectionMarginSize); GUILayout.Label("Actions", Array.Empty <GUILayoutOption>()); if (GUILayout.Button("Report App Open", Array.Empty <GUILayoutOption>())) { this.ClearStatusLabel(); MoPubAndroid.ReportApplicationOpen(null); } if (GUILayout.Button("Enable Location Support", Array.Empty <GUILayoutOption>())) { this.ClearStatusLabel(); MoPubAndroid.EnableLocationSupport(true); } }
private void CreateActionsSection() { GUILayout.Space((float)this._sectionMarginSize); GUILayout.Label("Actions", new GUILayoutOption[0]); if (GUILayout.Button("Report App Open", new GUILayoutOption[0])) { this._status = string.Empty; MoPubAndroid.ReportApplicationOpen(null); } if (!GUILayout.Button("Enable Location Support", new GUILayoutOption[0])) { return; } this._status = string.Empty; MoPubAndroid.EnableLocationSupport(true); }