Exemplo n.º 1
0
        public static double GetTimeZoneGMTOffset()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

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

            return(deviceInfoImpl.GetTimeZoneGMTOffset());
        }
        private static IGamedoniaDeviceInfo GetDeviceInfoImpl()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

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

            return(deviceInfoImpl);
        }
Exemplo n.º 3
0
        public static string GetCountryCode()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

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

            return(deviceInfoImpl.GetCountryCode());
        }