VContainer
18 tools in this family (folder Editor/Tools/VContainer/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.
| Tool | Effect | Description |
|---|---|---|
inject_create_scope | writes | Create a synthetic LifetimeScope under an optional parent. The scope is empty until |
inject_detect_cycle | read-only | Walk a scope + its ancestors and look for circular dependencies. Returns the list of |
inject_emit_async_startable | writes | Emit a class implementing IAsyncStartable. Runs after the container is built but |
inject_emit_factory_pattern | read-only | Emit an IFactory<TProduct> + factory implementation that wraps IObjectResolver.Resolve. |
inject_emit_injectable_class | read-only | Emit a POCO class whose constructor takes its declared dependencies. VContainer uses |
inject_emit_injectable_mb | read-only | Emit a MonoBehaviour with a [Inject] public void Configure(...) method for VContainer |
inject_emit_installer | read-only | Emit a reusable installer ScriptableObject (implements IInstaller). Drop the asset into |
inject_emit_lifetime_scope | read-only | Emit a LifetimeScope MonoBehaviour with a Configure(IContainerBuilder) override that |
inject_emit_registration_block | read-only | Emit just the builder.Register<T>(Lifetime.X).As<I>(); lines for a scope, without |
inject_emit_tickable | writes | Emit a class implementing one of VContainer's tickable interfaces: ITickable (Update), |
inject_get_diagnostics | read-only | Return diagnostic counters: total/live scopes, total registrations, total resolves, |
inject_get_version | read-only | Return the installed VContainer package version (if present) or a 'mock' sentinel |
inject_init | writes | Initialize the Buril VContainer runtime. Probes for the installed VContainer package |
inject_install_package_hint | read-only | Return install instructions for the VContainer package (OpenUPM scoped registry + |
inject_list_registrations | read-only | List every registration inside a scope. Use inject_list_scopes first to discover |
inject_list_scopes | read-only | List every synthetic LifetimeScope (root + children) with status, parent, registration |
inject_register | writes | Register a service inside a scope: pick impl_type, one or more contract_types, a |
inject_simulate_resolve | writes | Simulate Resolve<T>() against a scope. Walks the scope → parent → root chain, returns |