# RPGアツマールAPI for Unity について

## RPGアツマールとは

[RPGアツマール](https://game.nicovideo.jp/atsumaru/)とは、株式会社ドワンゴによって運営されているゲームプラットフォームサイトです。このゲームプラットフォームでは、HTML5によって作成されたゲームなどを一般ユーザー（ニコニコの一般会員の事ではありません）から自由にアップロードし公開出来る様になっています。

また、公開されたゲームは、他の一般ユーザーからも遊ぶことが出来て[ニコニコ動画](https://www.nicovideo.jp/video_top)のような仕組みと同様、ゲームに対してコメントを送ることも可能です。

## RPGアツマールAPIとは

作成したゲームを、[RPGアツマール](https://game.nicovideo.jp/atsumaru/)と連携するためにゲームから呼び出せる[RPGアツマール](https://game.nicovideo.jp/atsumaru/)の機能です。

主に、ゲームに必要なセーブ機能や音量制御なども含まれます。セーブ機能には[RPGアツマール](https://game.nicovideo.jp/atsumaru/)サーバー上にユーザー会員アカウントと紐付けられ、他のコンピュータからでも同アカウントでログインする事が出来れば、同じセーブデータからゲームを再開する事が可能になったりします。

[RPGアツマール](https://game.nicovideo.jp/atsumaru/)公式が発表している[RPGアツマールAPIリファレンス](https://atsumaru.github.io/api-references/)などもありますのでご興味がある方は、参考に見てみると良いかもしれません。

## RPGアツマールAPI for Unityとは

現在、公式にて提供されているAPIは、JavaScriptからの呼び出しを想定している為そのままではUnityゲームエンジンから呼び出すことは出来ません。

Unityゲームエンジンから呼び出すには、[RPGアツマール](https://game.nicovideo.jp/atsumaru/)APIとの繋ぎ込みをするためにネイティブプラグインを実装しなければなりませが、呼び出せるようにしたのが"RPGアツマールAPI for Unity"です。

いざ、このマニュアルを読みUnityでRPGアツマールの開発をエンジョイしましょう！


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sinoa-dev.gitbook.io/rpgatsumaruapiforunity/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
