private static IGamedoniaDeviceInfo GetDeviceInfoImpl()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

            if (Application.isEditor)
            {
                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl();
            }
            else
            {
                deviceInfoImpl = new GamedoniaDeviceInfoImpl();
            }

            return(deviceInfoImpl);
        }
Example #2
0
        public static string GetCountryCode()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

            if (Application.isEditor)
            {
                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl();
            }
            else
            {
                deviceInfoImpl = new GamedoniaDeviceInfoImpl();
            }

            return(deviceInfoImpl.GetCountryCode());
        }
Example #3
0
        public static double GetTimeZoneGMTOffset()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

            if (Application.isEditor)
            {
                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl();
            }
            else
            {
                deviceInfoImpl = new GamedoniaDeviceInfoImpl();
            }

            return(deviceInfoImpl.GetTimeZoneGMTOffset());
        }
Example #4
0
        private static IGamedoniaDeviceInfo GetDeviceInfoImpl()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;
                        if (Application.isEditor) {
                                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl ();
                        } else {
                                deviceInfoImpl = new GamedoniaDeviceInfoImpl ();
                        }

                        return deviceInfoImpl;
        }