Skip to content

Commit 0510c57

Browse files
committed
v1.0.3
- Added Dependency on V1.0.1 of depInjector. - Updated for context-based subscription for ViewModel
1 parent b10d3d6 commit 0510c57

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Runtime/Scripts/ViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public abstract class ViewModel<VM> : MonoBehaviour, IClient where VM : ViewMode
1515

1616
public virtual void OnEnable()
1717
{
18-
DepInjector.AddClient(this);
18+
DepInjector.Add(this);
1919
TryInitialize(false);
2020
}
2121
public virtual void OnDisable()

Runtime/io.github.crazyjackel.reactiveKit.asmdef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"rootNamespace": "",
44
"references": [
55
"GUID:5e29b8baa43663b41b895c32ce9d38fc",
6-
"GUID:03a02e6858eef43b383e305cd83babb4",
76
"GUID:023ac9b81facd43ebbb2a6f1c6252835",
7+
"GUID:03a02e6858eef43b383e305cd83babb4",
88
"GUID:560b04d1a97f54a4e82edc0cbbb69285"
99
],
1010
"includePlatforms": [],

Samples/io.github.crazyjackel.reactiveKitSamples.asmdef

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "io.github.crazyjackel.reactiveKitSamples",
33
"rootNamespace": "",
44
"references": [
5+
"GUID:5e29b8baa43663b41b895c32ce9d38fc",
56
"GUID:2ff61d08e19f7704ea0fec39ea8dba78",
6-
"GUID:560b04d1a97f54a4e82edc0cbbb69285",
7-
"GUID:5ebd72074e3e545478dbf7911855aae1"
7+
"GUID:560b04d1a97f54a4e82edc0cbbb69285"
88
],
99
"includePlatforms": [],
1010
"excludePlatforms": [],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"gitDependencies": {
1515
"com.neuecc.unirx": "https://github.com/neuecc/UniRx.git?path=Assets/Plugins/UniRx/Scripts",
16-
"io.crazyjackel.redmoon-depinjector": "https://github.com/crazyjackel/redmoon-depInjector.git"
16+
"io.crazyjackel.redmoon-depinjector": "https://github.com/crazyjackel/redmoon-depInjector.git#1.0.1"
1717
},
1818
"samples": [
1919
{

0 commit comments

Comments
 (0)