Add new meta files and interfaces for project structure

This commit is contained in:
2025-07-11 21:46:14 +02:00
commit 43c1730ed5
3230 changed files with 1428743 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using UnityEngine;
namespace Pathfinding.Examples {
[ExecuteInEditMode]
[HelpURL("https://arongranberg.com/astar/documentation/stable/documentationbutton.html")]
public class DocumentationButton : MonoBehaviour {
public string page;
const string UrlBase = "https://arongranberg.com/astar/docs/";
GUIContent buttonContent = new GUIContent("Example Scene Documentation");
void Awake () {
useGUILayout = false;
}
#if UNITY_EDITOR
void OnGUI () {
if (GUI.Button(new Rect(Screen.width - 250, Screen.height - 60, 240, 50), buttonContent)) {
Application.OpenURL(UrlBase + page + ".html");
}
}
#endif
}
}