public static BgLocationService GetService() { BgLocationService service = null; #if UNITY_ANDROID service = new AndroidLocationService(); #elif UNITY_IOS service = new IodLocationService(); #else service = new Stub(); #endif return(service); }
void Awake() { _locationService = LocationServiceFactory.GetService(); }