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 Scope
orAssets/Create/Saneject/Create New Scope
.Scope
class with the correct boilerplate code.Assets/
).WhereMemberNameIs
filter for component and asset bindings:Changes
WhereTargetIs<T>
) now evaluate withAny
instead ofAll
.This allows chaining multiple filters to mean “inject into
T1
orT2
” instead of requiring all filters simultaneously.Binding.Equals
now treats target-type and member-name filters as overlap-based (subset/superset considered equal if they can apply to the same injection site).GetHashCode
was 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")
.CreateMissingProxyStubs
to 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