private static IIOSWrapper GetIOSWrapper() { Assembly assembly = Assembly.Load("Facebook.Unity.IOS"); Type type = assembly.GetType("Facebook.Unity.IOS.IOSWrapper"); IIOSWrapper iosWrapper = (IIOSWrapper)Activator.CreateInstance(type); return(iosWrapper); }
public IOSFacebook(IIOSWrapper iosWrapper, CallbackManager callbackManager) : base(callbackManager) { this.iosWrapper = iosWrapper; }
public IOSFacebook(IIOSWrapper iosWrapper, CallbackManager callbackManager) : base(callbackManager) { this.iosWrapper = iosWrapper; this.userID = this.iosWrapper.FBGetUserID(); }