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 }
public void ShareToTwitter() { #if UNITY_IOS && !UNITY_EDITOR presentShareToTwitter(); #elif UNITY_ANDROID && !UNITY_EDITOR AndroidWrapper.ShareToTwitter(); #endif }