Beispiel #1
0
 public void RegisterPlugin(string providerId, IPlugin plugin)
 {
     if (plugin is IInvitePlugin)
     {
         IInvitePlugin invitePlugin = (IInvitePlugin)plugin;
         getSocialJavaObject.Call("registerInvitePlugin", providerId, new UnityInvitePluginProxy(invitePlugin));
     }
     else
     {
         Debug.LogWarning("For now, GetSocial supports only Invite plugins");
     }
 }
Beispiel #2
0
 internal UnityInvitePluginProxy(IInvitePlugin invitePlugin) : base("im.getsocial.sdk.core.unity.proxy.UnityInvitePlugin")
 {
     this.invitePlugin = invitePlugin;
 }