22 lines
442 B
C#
22 lines
442 B
C#
#if TOOLS
|
|
using Godot;
|
|
using Rokojori;
|
|
using System.Diagnostics;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Rokojori.Tools
|
|
{
|
|
public class OnlineDocs
|
|
{
|
|
static string docsPath = "https://rokojori.com/en/labs/godot/docs/4.3/";
|
|
public static void Open( System.Type type )
|
|
{
|
|
var name = type.Name + "-class";
|
|
var path = docsPath + name;
|
|
OS.ShellOpen( path );
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif |