Update HotReload
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SingularityGroup.HotReload.Editor {
|
||||
internal static class ReportWindowAPI {
|
||||
public static void OpenBugReport(string title = null, string description = null) {
|
||||
HotReloadBugReportWindow.Open(
|
||||
ReportMode.BugReport,
|
||||
discordUrl: Constants.DiscordInviteUrl,
|
||||
contactUrl: Constants.ContactURL,
|
||||
email: HotReloadPrefs.LicenseEmail,
|
||||
details: description,
|
||||
title: title
|
||||
);
|
||||
}
|
||||
|
||||
public static void OpenFeedback(
|
||||
Func<Report, Task<string>> submitHandler = null,
|
||||
string discordUrl = null,
|
||||
string contactUrl = null,
|
||||
string title = null,
|
||||
string email = null,
|
||||
string feedback = null
|
||||
) {
|
||||
HotReloadBugReportWindow.Open(
|
||||
ReportMode.Feedback,
|
||||
discordUrl: Constants.DiscordInviteUrl,
|
||||
contactUrl: Constants.ContactURL,
|
||||
email: HotReloadPrefs.LicenseEmail
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user