File tree Expand file tree Collapse file tree 6 files changed +19
-12
lines changed
UnityProject/Injecter.Unity/Assets Expand file tree Collapse file tree 6 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1+ # 7.0.1
2+ - Fix ` MonoBehaviourInjected ` and ` MonoBehaviourScoped ` and separate them to different files
3+
14# 7.0.0
25- Add ` MonoBehaviourInjected ` and ` MonoBehaviourScoped `
36- Renamed classes: \* MonoBehavior\* -> \* MonoBehavio** u** r\*
Original file line number Diff line number Diff line change 33 <LangVersion >9.0</LangVersion >
44 <Nullable >enable</Nullable >
55
6- <CurrentVersion >7.0.0 </CurrentVersion >
6+ <CurrentVersion >7.0.1 </CurrentVersion >
77
88 <Version >$(CurrentVersion)</Version >
99 <PakcageVersion >$(CurrentVersion)</PakcageVersion >
Original file line number Diff line number Diff line change 11{
22 "name" : " com.injecter.hosting.unity" ,
3- "version" : " 7.0.0 " ,
3+ "version" : " 7.0.1 " ,
44 "displayName" : " Injecter.Hosting.Unity" ,
55 "license" : " MIT" ,
66 "licensesUrl" : " https://github.com/KuraiAndras/Injecter/blob/master/LICENSE.md" ,
1313 "url" : " https://github.com/KuraiAndras/Injecter"
1414 },
1515 "dependencies" : {
16- "com.injecter.unity" : " 7.0.0 "
16+ "com.injecter.unity" : " 7.0.1 "
1717 }
1818}
Original file line number Diff line number Diff line change 1+ #nullable enable
2+
3+ namespace Injecter . Unity
4+ {
5+ /// <summary>
6+ /// Inherit from this class to easily enable injection
7+ /// </summary>
8+ public abstract class MonoBehaviourInjected : InjectedMonoBehaviour
9+ {
10+ protected MonoBehaviourInjected ( ) : base ( false ) { }
11+ }
12+ }
Original file line number Diff line number Diff line change @@ -9,12 +9,4 @@ 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- }
2012}
Original file line number Diff line number Diff line change 11{
22 "name" : " com.injecter.unity" ,
3- "version" : " 7.0.0 " ,
3+ "version" : " 7.0.1 " ,
44 "displayName" : " Injecter.Unity" ,
55 "license" : " MIT" ,
66 "licensesUrl" : " https://github.com/KuraiAndras/Injecter/blob/master/LICENSE.md" ,
You can’t perform that action at this time.
0 commit comments