Is there a way to set the manual-page link that is opened, when you click the manual-button in the inspector, for custom C# components? For my custom MonoBehaviours it currently tries to open a page based on the component’s name, in the Unity docs, that obviously doesn’t exist, like: https://docs.unity3d.com/Manual/script-MyComponent.html. I would like to just provide another website URL, since we actually have an online project documentation.
You need to use HelpURL Attribute:
using UnityEngine;
[HelpURL("mysite.com/documentation")]
public class MyClass: MonoBehaviour
{
...
}
Documentation: Unity - Scripting API: HelpURLAttribute