예제 #1
0
    public void ShareToTwitter(MegacoolShareConfig config)
    {
#if UNITY_IOS && !UNITY_EDITOR
        presentShareToTwitterWithConfig(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.ShareToTwitter(config);
#endif
    }
예제 #2
0
    public void ShareToTwitter()
    {
#if UNITY_IOS && !UNITY_EDITOR
        presentShareToTwitter();
#elif UNITY_ANDROID && !UNITY_EDITOR
        AndroidWrapper.ShareToTwitter();
#endif
    }