コード例 #1
0
        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);
        }
コード例 #2
0
 GoogleConfigService()
 {
     m_GoogleConfigData = new GoogleConfigurationData();
 }