initial upload
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
using Convai.Scripts.Editor.Setup;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Convai.Scripts.Editor.Utils
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
public class ConvaiAPIKeySetupEditor
|
||||
{
|
||||
static ConvaiAPIKeySetupEditor()
|
||||
{
|
||||
ConvaiAPIKeySetup.OnAPIKeyNotFound += ShowAPIKeyNotFoundDialog;
|
||||
}
|
||||
|
||||
private static void ShowAPIKeyNotFoundDialog()
|
||||
{
|
||||
ConvaiSDKSetupEditorWindow window = EditorWindow.GetWindow<ConvaiSDKSetupEditorWindow>();
|
||||
ConvaiSDKSetupEditorWindow.ShowSection("account");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dc9e6155cc984bbbbba406560b411797
|
||||
timeCreated: 1723619519
|
||||
Reference in New Issue
Block a user