Files
2024-11-20 15:21:28 +01:00

47 lines
1.4 KiB
C#

// Copyright © 2018 Procedural Worlds Pty Limited. All Rights Reserved.
using UnityEngine;
using UnityEditor;
using PWCommon3;
namespace Gaia.Internal
{
public class GaiaStdMenu : Editor
{
/// <summary>
/// Show tutorials
/// </summary>
[MenuItem("Window/" + PWConst.COMMON_MENU + "/Gaia/Show Gaia Tutorials...", false, 60)]
public static void ShowTutorial()
{
Application.OpenURL(PWApp.CONF.TutorialsLink);
}
/// <summary>
/// Show support page
/// </summary>
[MenuItem("Window/" + PWConst.COMMON_MENU + "/Gaia/Show Gaia Support, Lodge a Ticket...", false, 61)]
public static void ShowSupport()
{
Application.OpenURL(PWApp.CONF.SupportLink);
}
/// <summary>
/// Show review option
/// </summary>
[MenuItem("Window/" + PWConst.COMMON_MENU + "/Gaia/Please Review Gaia...", false, 62)]
public static void ShowProductAssetStore()
{
Application.OpenURL(PWApp.CONF.ASLink);
}
/// <summary>
/// Show the welcome screen for this app
/// </summary>
[MenuItem("Window/" + PWConst.COMMON_MENU + "/Gaia/Show Gaia Welcome...", false, 63)]
public static void ShowProductWelcome()
{
PWWelcome.ShowWelcome(PWApp.CONF);
}
}
}