LINE SDK for Unity overview

The LINE SDK for Unity provides a modern way of implementing LINE APIs. The features included in this SDK will help you develop a Unity game with engaging and personalized user experience.

Features

The LINE SDK for Unity is a wrapper for LINE SDK for iOS Swift and LINE SDK for Android. It provides the following features in a Unity game running on iOS or Android.

User authentication

This feature allows users to log in to your Unity game with their LINE accounts. With the help of the LINE SDK for Unity, it has never been easier to integrate LINE Login into your app. Your users will automatically log in to your app without entering their LINE credentials if they are already logged in to LINE on their Android devices. This offers a great way for users to get started with your app without having to go through a registration process.

Utilizing user data with OpenID support

Once the user is authorized, you can get their LINE profile. You can make use of the user's information registered in LINE without building your own user system.

The LINE SDK supports the OpenID Connect 1.0 specification. You can get ID tokens that contain the user’s LINE profile when you retrieve the access token.

API calls

Use the methods included in the LINE SDK to get user profile information, log out users, and manage access tokens.

Open-sourced SDK

The LINE SDK for Unity is an open-source project. Visit our repository to check the provided code and samples.

Using the SDK

To use the LINE SDK with your Unity game, follow the steps below.

  1. Create a channel. See Getting started with LINE Login in the LINE Login guide.
  2. Integrate LINE Login into your Unity game using the SDK. See Integrating LINE Login with your Unity game.
  3. Make API calls from your app using the SDK or from server-side through the Social API. See the LINE SDK for Unity reference and the Social API reference.

Trying the starter app

You can see how LINE Login works using our starter app. See Trying the starter app.

What's in this guide

This guide explains how to integrate the LINE SDK with your Unity game and use the available API functions in the SDK from your app. The table below lists the topics and their contents in this guide.

Title Content
LINE SDK for Unity overview SDK features and high-level steps for using the SDK.
Setting up project The prerequisites and environment needed for integrating the LINE SDK for Unity.
Trying the starter app How to run our starter app.
Integrating LINE Login with your Unity game How to integrate the LINE SDK into your project and leverage LINE Login to improve your app's user experience.
Using the SDK Usage and other details of LINE SDK for Unity.
LINE SDK for Unity reference Detailed information on the interfaces and classes available in the SDK.

Other resources

You can access the following information from the top page of the LINE SDK for Unity guide.

Title Content
Release notes Change log for the SDK.

{{ $t("form.question.helpful") }}

{{ $t("form.question.detail") }}

{{ $t("form.question.improve") }}

{{ $t("form.info.start") }}{{ $t("form.info.link") }}{{ $t("form.info.end") }}


{{ $t("form.result.success") }}
{{ $t("form.result.error") }}
{{ $t("form.result.errorLink") }}