mirror of
https://github.com/focus-creative-games/hybridclr_unity.git
synced 2026-11-19 14:52:41 +08:00
chore: drop local absolute paths from HybridCLR skills
Reference documentation by its path inside the HybridCLR docs instead of a machine-specific directory.
This commit is contained in:
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# AOT generics
|
||||
|
||||
Docs: `D:/workspace/hybridclr-doc/docs/guide/build/aotgeneric.md` and `start/generic.md`.
|
||||
Docs: `guide/build/aotgeneric.md` and `start/generic.md` in the HybridCLR documentation.
|
||||
|
||||
Generic types and methods **defined in hot-update assemblies** have no AOT restriction. The restriction is hot-update code using a generic **defined in an AOT assembly** (`List<T>`, `Dictionary<TKey,TValue>`, async state machines, and similar) when that instantiation was not generated in AOT. Typical log:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# Avoid code stripping
|
||||
|
||||
Doc: `D:/workspace/hybridclr-doc/docs/guide/build/codestriping.md`.
|
||||
Doc: `guide/build/codestriping.md` in the HybridCLR documentation.
|
||||
|
||||
If a stripped AOT type or method is called from hot-update code:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# Configure HybridCLR
|
||||
|
||||
Docs: `D:/workspace/hybridclr-doc/docs/guide/setup/projectsettings.md` and `hybridclr-unity-package.md`. Fields follow `Editor/Settings/HybridCLRSettings.cs` in this repo. The asset is `ProjectSettings/HybridCLRSettings.asset`.
|
||||
Docs: `guide/setup/projectsettings.md` and `guide/setup/hybridclr-unity-package.md` in the HybridCLR documentation. Fields follow `Editor/Settings/HybridCLRSettings.cs` in this repo. The asset is `ProjectSettings/HybridCLRSettings.asset`.
|
||||
|
||||
How to split assemblies and create asmdefs is `hybridclr-hotupdate-assembly`. Do not expand that here.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# Hot-update assemblies
|
||||
|
||||
Docs: `D:/workspace/hybridclr-doc/docs/guide/setup/hotupdateassemblysetting.md`, `guide/build/compileassembly.md`, and `guide/build/runhotupdatecodes.md`. Settings fields are in `hybridclr-configure`.
|
||||
Docs: `guide/setup/hotupdateassemblysetting.md`, `guide/build/compileassembly.md`, and `guide/build/runhotupdatecodes.md` in the HybridCLR documentation. Settings fields are in `hybridclr-configure`.
|
||||
|
||||
## Split
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# Hot-update MonoBehaviour
|
||||
|
||||
Doc: `D:/workspace/hybridclr-doc/docs/guide/features/monobehaviour.md`. Registering the assembly is `hybridclr-hotupdate-assembly`.
|
||||
Doc: `guide/features/monobehaviour.md` in the HybridCLR documentation. Registering the assembly is `hybridclr-hotupdate-assembly`.
|
||||
|
||||
`AddComponent<T>()` and `AddComponent(Type)` work after that dll has been `Assembly.Load`ed.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# MonoPInvokeCallback
|
||||
|
||||
Doc: `D:/workspace/hybridclr-doc/docs/guide/features/monopinvokecallback.md`. Choosing a Lua, JS, or Python stack is `hybridclr-script-language`.
|
||||
Doc: `guide/features/monopinvokecallback.md` in the HybridCLR documentation. Choosing a Lua, JS, or Python stack is `hybridclr-script-language`.
|
||||
|
||||
A static method with `[MonoPInvokeCallback]` needs a C++ wrapper before `Marshal.GetFunctionPointerForDelegate` can return a pointer. Platforms that cannot JIT, including iOS, cannot create that wrapper at runtime. Generate it in the player build with `HybridCLR/Generate/ReversePInvokeWrapper` (`Generate/All` includes it).
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# Script languages
|
||||
|
||||
Doc: `D:/workspace/hybridclr-doc/docs/guide/features/workwithscriptlanguage.md`. Wrapper reservation rules are in `hybridclr-monopinvokecallback`. Do not restate them here.
|
||||
Doc: `guide/features/workwithscriptlanguage.md` in the HybridCLR documentation. Wrapper reservation rules are in `hybridclr-monopinvokecallback`. Do not restate them here.
|
||||
|
||||
HybridCLR is native C# hot update. It can sit beside an existing script stack while gameplay moves back to C#.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ description: >-
|
||||
|
||||
# Install HybridCLR
|
||||
|
||||
Docs: `D:/workspace/hybridclr-doc/docs/guide/setup/install.md` and `supported-platforms-and-unity-versions.md`. Package and il2cpp branches come from this repo's `Data~/hybridclr_version.json`. Do not change those branches from memory.
|
||||
Docs: `guide/setup/install.md` and `guide/setup/supported-platforms-and-unity-versions.md` in the HybridCLR documentation. Package and il2cpp branches come from this repo's `Data~/hybridclr_version.json`. Do not change those branches from memory.
|
||||
|
||||
## Versions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user