/// <summary>
        /// Initializes a new instance of the <see cref="SocialService"/> class.
        /// </summary>
        public SocialService()
        {
            this.simulationSocial = new SocialSimulationHelper();

#if ANDROID
            this.platformSocial = new GooglePlayGameService();
#elif IOS
            this.platformSocial = new GameCenterService();
#else
            this.platformSocial = new SocialFakeHelper();
#endif

            this.currentSocial = this.platformSocial;
        }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SocialService"/> class.
        /// </summary>
        public SocialService()
        {
            this.simulationSocial = new SocialSimulationHelper();

#if ANDROID
            this.platformSocial = new GooglePlayGameService();
#elif IOS
            this.platformSocial = new GameCenterService();
#else
            this.platformSocial = new SocialFakeHelper();
#endif

            this.currentSocial = this.platformSocial;
        }