public PurchasingEnabledState(SimpleStateMachine <PurchasingServiceToggleEvent> stateMachine) : base(k_StateNameEnabled, stateMachine) { m_GoogleConfigData = new GoogleConfigurationData(); m_UIBlocks.Add(new GooglePlayConfigurationSettingsBlock(m_GoogleConfigData)); m_UIBlocks.Add(new AppleConfigurationSettingsBlock()); m_UIBlocks.Add(new IapCatalogServiceSettingsBlock()); ModifyActionForEvent(PurchasingServiceToggleEvent.Disabled, HandleDisabling); }
GoogleConfigService() { m_GoogleConfigData = new GoogleConfigurationData(); }