private static IGamedoniaDeviceInfo GetDeviceInfoImpl() { IGamedoniaDeviceInfo deviceInfoImpl = null; if (Application.isEditor) { deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl(); } else { deviceInfoImpl = new GamedoniaDeviceInfoImpl(); } return(deviceInfoImpl); }
public static string GetCountryCode() { IGamedoniaDeviceInfo deviceInfoImpl = null; if (Application.isEditor) { deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl(); } else { deviceInfoImpl = new GamedoniaDeviceInfoImpl(); } return(deviceInfoImpl.GetCountryCode()); }
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; }