This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
modtainers
/
Svelto.ECS
mirror of
https://github.com/sebas77/Svelto.ECS
Watch
4
Star
0
Fork
0
Code
Issues
0
Releases
49
Wiki
Activity
Browse Source
Rename DispatchOnSet file, add constructors without senderID
tags/Rel2b2
sebas77
7 years ago
parent
101a80901f
commit
d37c91eb99
2 changed files
with
10 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
Svelto.ECS/Dispatcher/DispatchOnChange.cs
+6
-0
Svelto.ECS/Dispatcher/DispatchOnSet.cs
+ 4
- 0
Svelto.ECS/Dispatcher/DispatchOnChange.cs
View File
@@ -7,6 +7,10 @@ namespace Svelto.ECS
public DispatchOnChange(int senderID) : base(senderID)
{ }
public DispatchOnChange()
{
}
public new T value
{
set
Svelto.ECS/Dispatcher/DispatcherOnSet.cs → Svelto.ECS/Dispatcher/DispatchOnSet.cs
View File
@@ -9,6 +9,12 @@ namespace Svelto.ECS
_senderID = senderID;
_subscribers = new WeakEvent<int, T>();
}
public DispatchOnSet()
{
_senderID = -1;
_subscribers = new WeakEvent<int, T>();
}
public T value
{
Write
Preview
Loading…
Cancel
Save