Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HelpURLAttribute

Provide a custom documentation URL for a class.
Read time 3 minutesLast updated 4 days ago

Definition

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]public class HelpURLAttribute : Attribute

Remarks

The provided URL is expected to be an absolute path. If no file is found at the URL, the path is resolved relative to the Unity documentation, which can be either the manual or scripting reference.

Examples

using UnityEngine;using UnityEditor;[HelpURL("http://example.com/docs/MyComponent.html")]public class MyComponent{}

Constructors

Constructor

Description

HelpURLAttribute(System.String)Initialize the HelpURL attribute with a documentation url.

Properties

Property

Description

URLThe documentation URL specified for this class.

Inheritance

Inherited Members