File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
UnityProject/Injecter.Unity/Assets/Injecter.Unity Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11# 7.0.0
2+ - Add ` MonoBehaviourInjected ` and ` MonoBehaviourScoped `
23- Renamed classes: \* MonoBehavior\* -> \* MonoBehavio** u** r\*
34- InjectedMonoBehavior now removes Scope from the store during ` OnDestroy `
45- ScopeStore is now generic
Original file line number Diff line number Diff line change @@ -9,4 +9,12 @@ public abstract class MonoBehaviourScoped : InjectedMonoBehaviour
99 {
1010 protected MonoBehaviourScoped ( ) : base ( true ) { }
1111 }
12+
13+ /// <summary>
14+ /// Inherit from this class to easily enable injection
15+ /// </summary>
16+ public abstract class MonoBehaviourInjected : InjectedMonoBehaviour
17+ {
18+ protected MonoBehaviourInjected ( ) : base ( true ) { }
19+ }
1220}
You can’t perform that action at this time.
0 commit comments