com.wallstop-studios.dxmessaging 2.0.0-rc04 → 2.0.0-rc06
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Editor/SetupCscRsp.cs
CHANGED
|
@@ -36,8 +36,8 @@ namespace DxMessaging.Editor
|
|
|
36
36
|
|
|
37
37
|
static SetupCscRsp()
|
|
38
38
|
{
|
|
39
|
-
EditorApplication.delayCall += EnsureCscRsp;
|
|
40
39
|
EditorApplication.delayCall += EnsureDLLsExistInAssets;
|
|
40
|
+
EditorApplication.delayCall += EnsureCscRsp;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
private static void EnsureDLLsExistInAssets()
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
using System;
|
|
4
4
|
using System.Runtime.CompilerServices;
|
|
5
5
|
using System.Runtime.Serialization;
|
|
6
|
+
using System.Text.Json.Serialization;
|
|
6
7
|
|
|
7
8
|
/// <summary>
|
|
8
9
|
/// A light abstraction layer over Unity's InstanceId. Meant to uniquely identify a game object.
|
|
@@ -13,12 +14,16 @@
|
|
|
13
14
|
{
|
|
14
15
|
public static readonly InstanceId EmptyId = new(0);
|
|
15
16
|
|
|
17
|
+
[JsonInclude]
|
|
18
|
+
[JsonPropertyName("id")]
|
|
16
19
|
[DataMember(Name = "id")]
|
|
17
20
|
private readonly int _id;
|
|
18
21
|
|
|
19
22
|
#if UNITY_2017_1_OR_NEWER
|
|
20
23
|
public UnityEngine.Object Object { get; }
|
|
21
24
|
#endif
|
|
25
|
+
|
|
26
|
+
[JsonConstructor]
|
|
22
27
|
public InstanceId(int id) : this()
|
|
23
28
|
{
|
|
24
29
|
_id = id;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.wallstop-studios.dxmessaging",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc06",
|
|
4
4
|
"displayName": "DxMessaging",
|
|
5
5
|
"description": "Synchronous Event Bus for Unity",
|
|
6
6
|
"unity": "2021.3",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"com.wallstop-studios.unity-helpers" : "2.0.0-
|
|
8
|
+
"com.wallstop-studios.unity-helpers" : "2.0.0-rc04"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"messaging",
|