For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sample code

You can take a quick look at the features provided by the Apps in Toss Unity SDK. Click each item to see detailed guides and sample code.

[View Unity SDK GitHub ↗](https://github.com/toss/apps-in-toss-unity-sdk/)

Getting Started Guide

Feature
Description

Get started

You can install the SDK and proceed all the way to building.

API usage patterns

You can learn how to handle async processing, errors, and set up the test environment.

API reference

Feature
Description

Authentication

Users can easily log in with their Toss account without separate sign-up.

Navigation

You can configure the title and back button area at the top of the screen.

Safe Area

Check the screen inset values so they aren't obscured by notches or rounded corners.

System Information

You can check device ID, platform, app version, network status, and more.

Permission settings

You can request and check device permissions such as camera and location.

Location Information

You can get the current location or track location in real time.

Media

You can take photos with the camera or import photos from the album.

Clipboard

You can retrieve copied text or copy text to the clipboard.

Contacts

Get the user's contact list.

Storage

You can store user information on the device.

Game Leaderboard

When play ends, it registers the score and shows the rankings. Competition makes players want to play again.

Sharing

Share game results or invite links so recipients can open them directly in the Toss app.

Other APIs

It covers user identifiers, promotion rewards, app review requests, and more.

Build

Feature
Description

Build profile

You can configure build settings optimized for each stage of development, testing, and deployment.

Build Process

You can review the entire process from initialization to WebGL build and packaging.

Build customization

You can customize the build with index.html, npm packages, Vite plugins, and more.

Screens & Events

Feature
Description

Loading screen customization

You can customize the loading screen with custom HTML and JavaScript.

Screen Visibility Handling

You can handle audio and game state when the app goes into the background.

Analytics & Monitoring

Feature
Description

SDK event logging

Records what users did in the game. Essential for improving the game through data analysis, A/B testing, and more.

Sentry integration

Integrate Sentry to automatically track and monitor errors.

Monetization

Feature
Description

In-app Ads

You can add full-screen ads or rewarded ads.

In-app Purchases

You can generate revenue with one-time purchase products such as items.

Troubleshooting

Feature
Description

Troubleshooting

You can check common issues and solutions when using the SDK.

Debugging and Exception Handling

You can learn how to debug and handle exceptions in the Unity WebGL environment.

Last updated

Was this helpful?