void RegisterFacebookSharePlugin() { var fbResult = GetSocial.RegisterInviteChannelPlugin(InviteChannelIds.Facebook, new FacebookSharePlugin()); if (fbResult) { _console.LogD("Registered Facebook share plugin."); } else { _console.LogE("Failed to register Facebook share plugin."); } }
public Texture2D image; // works only on uncompressed, non-HDR texture formats. You must enable the texture's Read/Write Enabled flag in the Texture Import Settings. private void Start() { GetSocial.RegisterInviteChannelPlugin(InviteChannelIds.Facebook, new FacebookSharePlugin()); }