# 作者の情報を表示しよう

## 背景

作られたゲームが、どの作者によって作られたのか、他の関連ゲームがあるかをプレイヤーに伝えたい時があるでしょう。

その場合は、RPGアツマールの作者情報表示機能を使うことが出来ます。

## 解説

プレイヤーに自身が制作した他のゲームなどを教えたり、自己紹介を兼ねたダイアログを表示する機能がRPGアツマールに存在しており、この機能を呼び出すことが出来ます。

## サンプルコード

```csharp
using RpgAtsumaruApiForUnity;
using UnityEngine;

public class RpgAtsumaruSample : MonoBehaviour
{
    private void Awake()
    {
        // もしプラグインの初期化が終わっていないなら
        if (!RpgAtsumaruApi.Initialized)
        {
            // プラグインの初期化
            RpgAtsumaruApi.Initialize();
        }
    }


    private async void Start()
    {
        // ニコニコユーザーID 12345 番のクリエイター情報を表示（待機しているのはRPGアツマールからの結果受け取りであって表示結果ではありません）
        await RpgAtsumaruApi.GeneralApi.ShowCreatorInformationAsync(12345);
    }
}
```


---

# 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/sample-api/sample-code-list/show-creator.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.
