Beispiel #1
0
    public void ShareToMessenger(MegacoolShareConfig config)
    {
#if UNITY_IOS && !UNITY_EDITOR
        presentShareToMessengerWithConfig(config.RecordingId, config.LastFrameOverlay, config.FallbackImage, config.Share.Url.ToString(), config.Share.Data != null ? MegacoolThirdParty_MiniJSON.Json.Serialize(config.Share.Data) : null);
#elif UNITY_ANDROID && !UNITY_EDITOR
        AndroidWrapper.ShareToMessenger(config);
#endif
    }
Beispiel #2
0
    public void ShareToMessenger()
    {
#if UNITY_IOS && !UNITY_EDITOR
        presentShareToMessenger();
#elif UNITY_ANDROID && !UNITY_EDITOR
        AndroidWrapper.ShareToMessenger();
#endif
    }