You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/AlmostEngine/UltimateScreenshotCreator/Example/Scripts/RequestAuthAtStartup.cs

21 lines
343 B
C#

1 month ago
using UnityEngine;
using System.Collections;
using AlmostEngine.Screenshot;
namespace AlmostEngine.Examples
{
public class RequestAuthAtStartup : MonoBehaviour
{
void Start ()
{
#if UNITY_IOS
if(!iOsUtils.HasGalleryAuthorization()){
iOsUtils.RequestGalleryAuthorization();
}
#endif
}
}
}