Skip to content

Commit a134afa

Browse files
authored
Merge pull request #81 from KuraiAndras/develop
7.0.1
2 parents 84572df + ba8f13c commit a134afa

File tree

6 files changed

+19
-12
lines changed

6 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
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\*

MainProject/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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>

UnityProject/Injecter.Unity/Assets/Injecter.Hosting.Unity/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -13,6 +13,6 @@
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
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

UnityProject/Injecter.Unity/Assets/Injecter.Unity/MonoBehaviourScoped.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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
}

UnityProject/Injecter.Unity/Assets/Injecter.Unity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)