> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sheet Appearance

> Give the reward sheet your game's fonts with the Sheet field of AppearanceConfig in the Unity SDK, and what it takes from the Style editor.

> [!NOTE]
>
> New in Unity SDK 2.6.0, which needs the 2.6.0 native SDKs.

The native SDKs draw the reward sheet on Android and iOS. From 2.6.0 the sheet takes its colors, corners, borders, images, and motion from the Style editor in the publisher portal (when the editor is on for your app) and from the variant, with no code. Your code gives it fonts, and on a placement the sheet also reads `AccentColor`, `BackgroundColor`, and `TextColor`: see [AppearanceConfig](https://docs.encorekit.com/publishers/unity/sdk-reference/appearance-config.md). The per-component `components` map of the native SDKs is not in the Unity SDK.

## Give the sheet your fonts

```csharp theme={null}
var result = await Encore.Placement("level_complete")
    .UseCase(UseCase.RewardUsers)
    .Appearance(new AppearanceConfig
    {
        AccentColor = "#F5C52B",
        Sheet = new SheetAppearance { HeadingFontFamily = "LuckiestGuy-Regular", BodyFontFamily = "Nunito-Regular" },
    })
    .ShowAsync();
```

Reference: [`Placement().Appearance()`](https://docs.encorekit.com/publishers/unity/sdk-reference/placement) and [`AppearanceConfig`](https://docs.encorekit.com/publishers/unity/sdk-reference/appearance-config).

```csharp theme={null}
public sealed class SheetAppearance
{
    public string HeadingFontFamily; // text the Style editor marks as heading, such as the title and the primary button
    public string BodyFontFamily;    // every other text on the sheet, the offer text too
}
```

A Unity font asset is not a native font, so register the font with each platform and pass the name it has there:

* **iOS:** add the font file to the Xcode project and list it under `UIAppFonts` in `Info.plist`. Pass its PostScript name, for example `Nunito-Regular`.
* **Android:** add the font file as a font resource (`res/font/nunito_regular.ttf`, in an Android library plugin). Pass the resource name, `nunito_regular`. A name that is not a resource is tried in lowercase, with any character other than `a-z`, `0-9`, and `_` as `_`, so `Nunito-Regular` also finds `nunito_regular`.

The Android bridge finds the resource by name at run time, so with resource shrinking on, keep the fonts with a `res/raw/keep.xml` that has `tools:keep="@font/*"`.

A blank or unknown name, or a font that cannot load, draws the system font. Only a placement's appearance styles the sheet: a gift button's appearance ignores `Sheet`. WebGL ignores `Sheet`.

## Styles from the Style editor and motion

On Android and iOS, colors, corners, borders, images, and motion that the Style editor sets reach the sheet with no code. A Lottie animation plays only when the game links Lottie (`lottie-ios` 4.x, `com.airbnb.android:lottie` 5.2 or later). Without it, the element draws as it did before 2.6.0.

In a Unity WebGL build, the sheet comes from the web SDK 2.6.0 UMD script. It takes the Style editor's styles too, and shows a still image in place of a Lottie animation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.