Example #1
0
        private static IntPtr Create(string album)
        {
            switch (Application.platform)
            {
            case RuntimePlatform.Android:
            case RuntimePlatform.IPhonePlayer:
                NatShare.CreateSavePayload(album, out var payload);
                return(payload);

            default:
                Debug.LogWarning($"NatShare: SavePayload is not supported on {Application.platform}");
                return(IntPtr.Zero);
            }
        }