---
title: "Present onboardings in Unity SDK"
description: "Learn how to present onboardings effectively to drive more conversions."
---

If you've customized an onboarding using the builder, you don't need to worry about rendering it in your Unity app code to display it to the user. Such an onboarding contains both what should be shown within the onboarding and how it should be shown.

Before you start, ensure that:

1. You have installed [Adapty Unity SDK](sdk-installation-unity) 3.14.0 or later.
2. You have [created an onboarding](create-onboarding).
3. You have added the onboarding to a [placement](placements).

To display an onboarding, use the `view.Present()` method on the `view` created by the `CreateOnboardingView` method. Each `view` can only be used once. If you need to display the paywall again, call `CreateOnboardingView` one more to create a new `view` instance.

:::warning
Reusing the same `view` without recreating it may result in an `AdaptyUIError.viewAlreadyPresented` error.
:::

```csharp showLineNumbers title="Unity"
view.Present((presentError) => {
    if (presentError != null) {
        // handle the error
    }
};
```

## Configure iOS presentation style

Configure how the onboarding is presented on iOS by passing the `iosPresentationStyle` parameter to the `Present()` method. The parameter accepts `AdaptyUIIOSPresentationStyle.FullScreen` (default) or `AdaptyUIIOSPresentationStyle.PageSheet` values.

```csharp showLineNumbers title="Unity"
view.Present(AdaptyUIIOSPresentationStyle.PageSheet, (error) => {
    // handle the error
});
```

## Customize how links open in onboardings

:::important
Customizing how links open in onboardings is supported starting from Adapty SDK v3.15.
:::

By default, links in onboardings open in an in-app browser, providing a seamless experience by displaying web pages within your application without switching apps.

To open links in an external browser instead, pass `AdaptyWebPresentation.ExternalBrowser` to the `CreateOnboardingView` method:

```csharp showLineNumbers title="Unity"
AdaptyUI.CreateOnboardingView(
    onboarding,
    AdaptyWebPresentation.ExternalBrowser, // default — InAppBrowser
    (view, error) => {
        if (error != null) {
            // handle the error
            return;
        }

        // present the onboarding view
        view.Present((presentError) => {
            if (presentError != null) {
                // handle the error
            }
        });
    }
);
```

Available options:
- `AdaptyWebPresentation.InAppBrowser` - Opens links in an in-app browser (default)
- `AdaptyWebPresentation.ExternalBrowser` - Opens links in the device's external browser