作者の情報を表示しよう
背景
解説
サンプルコード
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);
}
}最終更新