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