private async Task <string> GetToken()
        {
            var callback = await _Settings.GetSettingAsync <CallbackSettings>();

            if (callback == null)
            {
                callback = new CallbackSettings()
                {
                    Token = Guid.NewGuid().ToString()
                };
                await _Settings.UpdateSetting(callback);
            }
            var token = callback.Token;

            return(token);
        }
Beispiel #2
0
    public override void OnInspectorGUI()
    {
        instance = (CallbackSettings)target;

        ConfigGUI();
    }