This page is a navigation aid, not a duplicate of rustdoc. Use generated rustdoc for exact signatures, return shapes, and item-level semantics.
These are the main entry points for most integrations:
initapi::cacheapi::Threadapi::invoke_method- dump helpers under
api - wrappers such as
api::Applicationandapi::Time - metadata and object types under
structs
init(target_image, callback)initializes symbol loading and cache hydrationapi::Threadmanages IL2CPP thread attachment outside the initialization workerapi::Internalsresolves or registers internal calls
Use api::cache to reach hydrated assemblies and metadata:
assembly(name)csharp()mscorlib()coremodule()class_from_ptr(ptr)method_from_ptr(ptr)ensure_hydrated()
Core metadata/object wrappers live under structs:
AssemblyClassMethodFieldPropertyObjectTypeImage
The common call flow is:
- find an
Assembly - resolve a
Class - resolve a
Method - call through
Method::call<T>orapi::invoke_method
For object-specific access:
- use
Object::methodfor instance-bound method lookup - use
Object::fieldfor instance-bound field access - use
Object::propertyfor instance-bound property access
Wrappers help with common Unity tasks without changing the core runtime model:
api::Applicationapi::TimeGameObjectTransformMonoBehaviour- rendering, physics, animation, and scene wrappers under
structs::components
The pseudo-code dump helpers are under api:
dumpdump_alldump_todump_all_todump_assembly
Build the generated docs locally with:
cargo doc --no-depsUse rustdoc as the canonical reference layer. Use the markdown guides for workflow explanations, caveats, and integration strategy.