UnityXrefMaps 0.0.4

dotnet tool install --global UnityXrefMaps --version 0.0.4
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local UnityXrefMaps --version 0.0.4
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=UnityXrefMaps&version=0.0.4
                    
nuke :add-package UnityXrefMaps --version 0.0.4
                    

Unity API references for DocFX

Automatically add clickable links to the Unity API on a DocFX documentation

Generates references of the Unity API to use with DocFX (the cross reference maps). DocFX will set clickable all the references of the Unity API on your documentation.

Usage

  1. Make sure you have setup a DocFX documentation. You can follow the DocFxForUnity instructions otherwise.

  2. Add this line to your docfx.json:

    • If you want to reference the latest stable version of Unity:

      "build": {
          "xref": [
      +        "https://normanderwan.github.io/UnityXrefMaps/xrefmap.yml"
          ],
      }
      
    • If you want to reference a specific version of Unity:

      "build": {
          "xref": [
      +        "https://normanderwan.github.io/UnityXrefMaps/<version>/xrefmap.yml"
          ],
      }
      

      where <version> is a Unity version in the form of YYYY.x (e.g. 2018.4, 2019.3, 2020.1).

    • If you prefer relying in a offline file:

      "build": {
          "xref": [
      +        "UnityXrefMap.yml"
          ],
      }
      

      where UnityXrefMap.yml has been downloaded from one of the link above and placed next to your docfx.json.

  3. Generate your documentation!

Contribute

  • To run this program:

    1. Install Visual Studio 2022.

    2. Install .NET 9.0 SDK.

    3. Clone this repository on your computer.

    4. Open a terminal on the cloned repository and run:

      dotnet tool restore
      dotnet run
      
  • For any question or comment, please open a new issue.

  • If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome!

Disclaimer

This repository is not sponsored by or affiliated with Unity Technologies or its affiliates. “Unity” is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.0.4 162 9/26/2025
0.0.3 154 9/26/2025
0.0.2 155 9/26/2025
0.0.1 191 9/25/2025