private void DrawPlayMakerSettings() { if (m_playmakerSettingsUI == null) { var settingsUI = SA_Reflection.CreateInstance(PLAYMAKER_UI_CLASS_NAME); if (settingsUI != null) { m_playmakerSettingsUI = (settingsUI as SA_iGUILayoutElement); m_playmakerSettingsUI.OnLayoutEnable(); } } if (m_playmakerSettingsUI == null) { UM_SettingsUtil.DrawAddonRequestUI(UM_Addon.Playmaker); } else { m_playmakerSettingsUI.OnGUI(); } }
public static UM_iAdsClient CreateAdsClient() { return(SA_Reflection.CreateInstance(CLIENT_CLASS_NAME) as UM_iAdsClient); }
public static object CreateSettingsLayout() { return(SA_Reflection.CreateInstance(SETTINGS_UI_CLASS_NAME)); }