Created
January 29, 2019 11:40
-
-
Save nkjzm/5e7924c77ec0085c9e4ba0d144a114be to your computer and use it in GitHub Desktop.
VRoid SDKでアカウント周りのデバッグを支援するスクリプト。Editorフォルダ以下に入れると動作。CC0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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