Firstborn/Library/PackageCache/com.unity.render-pipelines..../Runtime/Documentation.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

29 lines
858 B
C#

using System.Diagnostics;
namespace UnityEngine.Rendering.Universal
{
[Conditional("UNITY_EDITOR")]
internal class URPHelpURLAttribute : CoreRPHelpURLAttribute
{
public URPHelpURLAttribute(string pageName)
: base(pageName, Documentation.packageName)
{
}
}
internal class Documentation : DocumentationInfo
{
/// <summary>
/// The name of the package
/// </summary>
public const string packageName = "com.unity.render-pipelines.universal";
/// <summary>
/// Generates a help url for the given package and page name
/// </summary>
/// <param name="pageName">The page name</param>
/// <returns>The full url page</returns>
public static string GetPageLink(string pageName) => GetPageLink(packageName, pageName);
}
}