private void InstallVRCSDKButton() { EditorGUI.BeginDisabledGroup(is_changing_vrc_sdk); if (GUILayout.Button("Install VRC SDK")) { is_changing_vrc_sdk = true; VRCInterface.DownloadAndInstallVRCSDK(); } EditorGUI.EndDisabledGroup(); }
private void InstallVRCSDKButton() { EditorGUI.BeginDisabledGroup(is_changing_vrc_sdk); GUILayout.BeginHorizontal(); if (GUILayout.Button(Locale.editor.Get("button_install_vrc_sdk") + "(v2)(Avatars)")) { is_changing_vrc_sdk = true; VRCInterface.DownloadAndInstallVRCSDK(VRCInterface.VRC_SDK_Type.SDK_2); } if (GUILayout.Button(Locale.editor.Get("button_install_vrc_sdk") + "(v3)(Udon)")) { is_changing_vrc_sdk = true; VRCInterface.DownloadAndInstallVRCSDK(VRCInterface.VRC_SDK_Type.SDK_3); } GUILayout.EndHorizontal(); EditorGUI.EndDisabledGroup(); }