Skip to content

Instantly share code, notes, and snippets.

@nkjzm
Created January 29, 2019 11:40
Show Gist options
  • Save nkjzm/5e7924c77ec0085c9e4ba0d144a114be to your computer and use it in GitHub Desktop.
Save nkjzm/5e7924c77ec0085c9e4ba0d144a114be to your computer and use it in GitHub Desktop.
VRoid SDKでアカウント周りのデバッグを支援するスクリプト。Editorフォルダ以下に入れると動作。CC0
using System.IO;
using UnityEditor;
using UnityEngine;
public class VRoidAccountSupporter
{
[MenuItem("Tools/VRoid/ResetAccount")]
static void ResetAccount()
{
File.Delete(Path.Combine(Application.persistentDataPath, "production_account"));
}
[MenuItem("Tools/VRoid/CooperationReset")]
static void CooperationReset()
{
Application.OpenURL("https://hub.vroid.com/settings/authorized_apps");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment