30 lines
793 B
C#
30 lines
793 B
C#
// Copyright © 2018 Procedural Worlds Pty Limited. All Rights Reserved.
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
using PWCommon5;
|
|
|
|
namespace PWCommon5.Internal
|
|
{
|
|
public class CommonMenu : Editor
|
|
{
|
|
|
|
/// <summary>
|
|
/// Show Discord
|
|
/// </summary>
|
|
[MenuItem("Window/" + PWConst.COMMON_MENU + "/Show Discord, Have a Chat...", false, 120)]
|
|
public static void ShowDiscord()
|
|
{
|
|
Application.OpenURL(PWConst.DISCORD_LINK);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Show PW assets
|
|
/// </summary>
|
|
[MenuItem("Window/" + PWConst.COMMON_MENU + "/Show Procedural Worlds Assets...", false, 121)]
|
|
public static void ShowAssetStore()
|
|
{
|
|
Application.OpenURL(PWConst.ASSETS_LINK);
|
|
}
|
|
}
|
|
}
|