You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
858 B
28 lines
858 B
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); |
|
} |
|
}
|
|
|