Пример #1
0
    void Start()
    {
        #if PLATFORM_ANDROID
        if (!Permission.HasUserAuthorizedPermission(Permission.Microphone))
        {
            Permission.RequestUserPermission(Permission.ExternalStorageRead);
            Permission.RequestUserPermission(Permission.ExternalStorageWrite);
        }
        #endif

        SaveHandler.LoadSaves();
        DialogHandler.OpenDialogScene(WelcomeSprites, () => UnityEngine.SceneManagement.SceneManager.LoadScene("Menu"), 1500);
    }