Saneject 0.12.0 (beta) #32
alexanderlarsen
announced in
Releases
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Features
Saneject/Create New ScopeorAssets/Create/Saneject/Create New Scope.Scopeclass with the correct boilerplate code.Assets/).WhereMemberNameIsfilter for component and asset bindings:Changes
WhereTargetIs<T>) now evaluate withAnyinstead ofAll.This allows chaining multiple filters to mean “inject into
T1orT2” instead of requiring all filters simultaneously.Binding.Equalsnow treats target-type and member-name filters as overlap-based (subset/superset considered equal if they can apply to the same injection site).GetHashCodewas adjusted accordingly (hash depends on presence of these filters rather than their full contents).WhereTargetIs<MonoA>()is considered a duplicate ofWhereTargetIs<MonoA>().WhereTargetIs<MonoB>(); same forWhereMemberNameIs("monoA")vsWhereMemberNameIs("monoA","monoB").CreateMissingProxyStubsto return a flag when proxy generation is required.EnemyManager: now spawns enemies from a prefab at runtime instead of injecting scene children, keeping the sample compatible with context filtering enabled and aligned with recommended usage.Fixes
[field: ...]auto-properties inSanejectInspector, so[SerializeField]and[SerializeInterface]properties (with or without[Inject], including in nested classes) now draw correctly again.This discussion was created from the release Saneject 0.12.0 (beta).
Beta Was this translation helpful? Give feedback.
All reactions