com.wallstop-studios.dxmessaging 2.0.0-rc12 → 2.0.0-rc13
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/.gitattributes +63 -63
- package/.github/workflows/npm-publish.yml +66 -0
- package/CHANGELOG.md.meta +7 -7
- package/Editor/Analyzers/Microsoft.CodeAnalysis.CSharp.dll.meta +33 -33
- package/Editor/Analyzers/Microsoft.CodeAnalysis.dll.meta +33 -33
- package/Editor/Analyzers/System.Reflection.Metadata.dll.meta +33 -33
- package/Editor/Analyzers/WallstopStudios.DxMessaging.SourceGenerators.dll.meta +71 -71
- package/Editor/Analyzers.meta +8 -8
- package/Editor/SetupCscRsp.cs +162 -162
- package/Editor/SetupCscRsp.cs.meta +2 -2
- package/Editor/WallstopStudios.DxMessaging.Editor.asmdef +17 -17
- package/Editor/WallstopStudios.DxMessaging.Editor.asmdef.meta +7 -7
- package/Editor.meta +8 -8
- package/LICENSE.md +6 -6
- package/LICENSE.md.meta +7 -7
- package/README.md +387 -364
- package/README.md.meta +7 -7
- package/Runtime/Core/Attributes/DxAutoMessageTypeAttribute.cs +7 -7
- package/Runtime/Core/Attributes/DxAutoMessageTypeAttribute.cs.meta +2 -2
- package/Runtime/Core/Attributes/DxBroadcastMessageAttribute.cs +7 -7
- package/Runtime/Core/Attributes/DxBroadcastMessageAttribute.cs.meta +2 -2
- package/Runtime/Core/Attributes/DxTargetedMessageAttribute.cs +7 -7
- package/Runtime/Core/Attributes/DxTargetedMessageAttribute.cs.meta +2 -2
- package/Runtime/Core/Attributes/DxUntargetedMessageAttribute.cs +7 -7
- package/Runtime/Core/Attributes/DxUntargetedMessageAttribute.cs.meta +2 -2
- package/Runtime/Core/Attributes.meta +2 -2
- package/Runtime/Core/Extensions/MessageExtensions.cs +342 -342
- package/Runtime/Core/Extensions/MessageExtensions.cs.meta +11 -11
- package/Runtime/Core/Extensions.meta +8 -8
- package/Runtime/Core/IMessage.cs +12 -12
- package/Runtime/Core/IMessage.cs.meta +11 -11
- package/Runtime/Core/InstanceId.cs +149 -149
- package/Runtime/Core/InstanceId.cs.meta +11 -11
- package/Runtime/Core/MessageBus/IMessageBus.cs +309 -309
- package/Runtime/Core/MessageBus/IMessageBus.cs.meta +11 -11
- package/Runtime/Core/MessageBus/MessageBus.cs +2243 -2084
- package/Runtime/Core/MessageBus/MessageBus.cs.meta +11 -11
- package/Runtime/Core/MessageBus/MessagingRegistration.cs +105 -105
- package/Runtime/Core/MessageBus/MessagingRegistration.cs.meta +11 -11
- package/Runtime/Core/MessageBus/RegistrationLog.cs +111 -111
- package/Runtime/Core/MessageBus/RegistrationLog.cs.meta +11 -11
- package/Runtime/Core/MessageBus.meta +8 -8
- package/Runtime/Core/MessageHandler.cs +2778 -2759
- package/Runtime/Core/MessageHandler.cs.meta +11 -11
- package/Runtime/Core/MessageRegistrationHandle.cs +110 -110
- package/Runtime/Core/MessageRegistrationHandle.cs.meta +11 -11
- package/Runtime/Core/MessageRegistrationToken.cs +1234 -1234
- package/Runtime/Core/MessageRegistrationToken.cs.meta +11 -11
- package/Runtime/Core/Messages/IBroadcastMessage.cs +27 -27
- package/Runtime/Core/Messages/IBroadcastMessage.cs.meta +11 -11
- package/Runtime/Core/Messages/ITargetedMessage.cs +27 -27
- package/Runtime/Core/Messages/ITargetedMessage.cs.meta +11 -11
- package/Runtime/Core/Messages/IUntargetedMessage.cs +27 -27
- package/Runtime/Core/Messages/IUntargetedMessage.cs.meta +11 -11
- package/Runtime/Core/Messages.meta +8 -8
- package/Runtime/Core/MessagingDebug.cs +70 -70
- package/Runtime/Core/MessagingDebug.cs.meta +11 -11
- package/Runtime/Core.meta +8 -8
- package/Runtime/Unity/MessageAwareComponent.cs +77 -77
- package/Runtime/Unity/MessageAwareComponent.cs.meta +11 -11
- package/Runtime/Unity/MessagingComponent.cs +99 -99
- package/Runtime/Unity/MessagingComponent.cs.meta +11 -11
- package/Runtime/Unity.meta +8 -8
- package/Runtime/WallstopStudios.DxMessaging.asmdef +15 -15
- package/Runtime.meta +8 -8
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxAutoMessageTypeGenerator.cs +92 -92
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxAutoMessageTypeGenerator.cs.meta +11 -11
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxBroadcastMessageGenerator.cs +94 -94
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxBroadcastMessageGenerator.cs.meta +2 -2
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxTargetedMessageGenerator.cs +94 -94
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxTargetedMessageGenerator.cs.meta +2 -2
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxUntargetedMessageGenerator.cs +94 -94
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/DxUntargetedMessageGenerator.cs.meta +2 -2
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators.csproj +21 -21
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators.csproj.meta +7 -7
- package/SourceGenerators/WallstopStudios.DxMessaging.SourceGenerators.meta +8 -8
- package/SourceGenerators.meta +8 -8
- package/Tests/Runtime/Benchmarks/PerformanceTests.cs +373 -310
- package/Tests/Runtime/Benchmarks/PerformanceTests.cs.meta +11 -11
- package/Tests/Runtime/Benchmarks.meta +8 -8
- package/Tests/Runtime/Core/BroadcastTests.cs +899 -899
- package/Tests/Runtime/Core/GlobalAcceptAllTests.cs +190 -190
- package/Tests/Runtime/Core/GlobalAcceptAllTests.cs.meta +11 -11
- package/Tests/Runtime/Core/MessagingTestBase.cs +185 -185
- package/Tests/Runtime/Core/MessagingTestBase.cs.meta +11 -11
- package/Tests/Runtime/Core/NominalTests.cs +1740 -1740
- package/Tests/Runtime/Core/PostProcessorTests.cs +1236 -1236
- package/Tests/Runtime/Core/PostProcessorTests.cs.meta +11 -11
- package/Tests/Runtime/Core/RegistrationTests.cs +1266 -1266
- package/Tests/Runtime/Core/RegistrationTests.cs.meta +11 -11
- package/Tests/Runtime/Core/TargetedTests.cs +888 -888
- package/Tests/Runtime/Core/TargetedTests.cs.meta +11 -11
- package/Tests/Runtime/Core/UntargetedTests.cs +272 -272
- package/Tests/Runtime/Core/UntargetedTests.cs.meta +11 -11
- package/Tests/Runtime/Scripts/Components/EmptyMessageAwareComponent.cs +9 -9
- package/Tests/Runtime/Scripts/Components/EmptyMessageAwareComponent.cs.meta +11 -11
- package/Tests/Runtime/Scripts/Components/SimpleMessageAwareComponent.cs +186 -186
- package/Tests/Runtime/Scripts/Messages/ComplexTargetedMessage.cs +30 -30
- package/Tests/Runtime/Scripts/Messages/SimpleBroadcastMessage.cs +8 -8
- package/Tests/Runtime/Scripts/Messages/SimpleTargetedMessage.cs +8 -8
- package/Tests/Runtime/Scripts/Messages/SimpleUntargetedMessage.cs +8 -8
- package/Tests/Runtime/WallstopStudios.DxMessaging.Tests.Runtime.csproj.meta +7 -7
- package/Tests.meta +8 -8
- package/Third Party Notices.md.meta +7 -7
- package/package.json +36 -36
- package/package.json.meta +7 -7
package/Editor/SetupCscRsp.cs
CHANGED
|
@@ -1,162 +1,162 @@
|
|
|
1
|
-
#if UNITY_EDITOR
|
|
2
|
-
|
|
3
|
-
namespace DxMessaging.Editor
|
|
4
|
-
{
|
|
5
|
-
using System;
|
|
6
|
-
using System.Collections.Generic;
|
|
7
|
-
using System.IO;
|
|
8
|
-
using System.Linq;
|
|
9
|
-
using UnityEditor;
|
|
10
|
-
using UnityEngine;
|
|
11
|
-
using Object = UnityEngine.Object;
|
|
12
|
-
|
|
13
|
-
[InitializeOnLoad]
|
|
14
|
-
public static class SetupCscRsp
|
|
15
|
-
{
|
|
16
|
-
private static readonly string RspFilePath = Path.Combine(
|
|
17
|
-
Application.dataPath,
|
|
18
|
-
"..",
|
|
19
|
-
"csc.rsp"
|
|
20
|
-
)
|
|
21
|
-
.Replace("\\", "/");
|
|
22
|
-
|
|
23
|
-
private static readonly string AnalyzerPathRelative =
|
|
24
|
-
"Packages/com.wallstop-studios.dxmessaging/Editor/Analyzers/";
|
|
25
|
-
|
|
26
|
-
private static readonly string LibraryPathRelative =
|
|
27
|
-
"Library/PackageCache/com.wallstop-studios.dxmessaging/Editor/Analyzers/";
|
|
28
|
-
|
|
29
|
-
private static readonly string SourceGeneratorDllName =
|
|
30
|
-
"WallstopStudios.DxMessaging.SourceGenerators.dll";
|
|
31
|
-
|
|
32
|
-
private static readonly string[] RequiredDllNames =
|
|
33
|
-
{
|
|
34
|
-
SourceGeneratorDllName,
|
|
35
|
-
"Microsoft.CodeAnalysis.dll",
|
|
36
|
-
"Microsoft.CodeAnalysis.CSharp.dll",
|
|
37
|
-
"System.Reflection.Metadata.dll",
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
private static readonly string LibraryArgument = $"-a:\"{LibraryPathRelative}\"";
|
|
41
|
-
|
|
42
|
-
static SetupCscRsp()
|
|
43
|
-
{
|
|
44
|
-
EditorApplication.delayCall += EnsureDLLsExistInAssets;
|
|
45
|
-
EditorApplication.delayCall += EnsureCscRsp;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
private static void EnsureDLLsExistInAssets()
|
|
49
|
-
{
|
|
50
|
-
HashSet<string> dllNames = new();
|
|
51
|
-
foreach (
|
|
52
|
-
string dllGuid in AssetDatabase.FindAssets("t:DefaultAsset", new[] { "Assets" })
|
|
53
|
-
)
|
|
54
|
-
{
|
|
55
|
-
string dllPath = AssetDatabase.GUIDToAssetPath(dllGuid);
|
|
56
|
-
if (!dllPath.EndsWith(".dll"))
|
|
57
|
-
{
|
|
58
|
-
continue;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
string dllName = Path.GetFileName(dllPath);
|
|
62
|
-
dllNames.Add(dllName);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
string[] dllRelativeDirectories = { LibraryPathRelative, AnalyzerPathRelative };
|
|
66
|
-
|
|
67
|
-
bool anyFound = false;
|
|
68
|
-
foreach (
|
|
69
|
-
string requiredDllName in RequiredDllNames.Where(dllName =>
|
|
70
|
-
!dllNames.Contains(dllName)
|
|
71
|
-
)
|
|
72
|
-
)
|
|
73
|
-
{
|
|
74
|
-
bool found = false;
|
|
75
|
-
foreach (string relativeDirectory in dllRelativeDirectories)
|
|
76
|
-
{
|
|
77
|
-
try
|
|
78
|
-
{
|
|
79
|
-
string sourceFile = $"{relativeDirectory}{requiredDllName}";
|
|
80
|
-
if (!File.Exists(sourceFile))
|
|
81
|
-
{
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
const string pluginsDirectory =
|
|
86
|
-
"Assets/Plugins/WallstopStudios.DxMessaging/";
|
|
87
|
-
string outputAsset = $"{pluginsDirectory}{requiredDllName}";
|
|
88
|
-
Directory.CreateDirectory(pluginsDirectory);
|
|
89
|
-
if (!File.Exists(outputAsset))
|
|
90
|
-
{
|
|
91
|
-
File.Copy($"{relativeDirectory}{requiredDllName}", outputAsset);
|
|
92
|
-
AssetDatabase.ImportAsset(outputAsset);
|
|
93
|
-
found = true;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
if (requiredDllName == SourceGeneratorDllName)
|
|
97
|
-
{
|
|
98
|
-
Object loadedDll = AssetDatabase.LoadMainAssetAtPath(outputAsset);
|
|
99
|
-
AssetDatabase.SetLabels(loadedDll, new[] { "RoslynAnalyzer" });
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
PluginImporter importer =
|
|
103
|
-
AssetImporter.GetAtPath(outputAsset) as PluginImporter;
|
|
104
|
-
if (importer != null)
|
|
105
|
-
{
|
|
106
|
-
importer.SetCompatibleWithAnyPlatform(false);
|
|
107
|
-
importer.SetExcludeFromAnyPlatform("Editor", false);
|
|
108
|
-
importer.SetExcludeFromAnyPlatform("Standalone", false);
|
|
109
|
-
importer.SaveAndReimport();
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
break;
|
|
113
|
-
}
|
|
114
|
-
catch (Exception e)
|
|
115
|
-
{
|
|
116
|
-
Debug.LogError(
|
|
117
|
-
$"Failed to copy {requiredDllName} to Assets, failed with {e}."
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
anyFound |= found;
|
|
123
|
-
Debug.Log(
|
|
124
|
-
$"Missing required dll '{requiredDllName}', "
|
|
125
|
-
+ $"{(found ? "creation successful." : "WARNING! Manual creation required.")}"
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
if (anyFound)
|
|
130
|
-
{
|
|
131
|
-
AssetDatabase.Refresh();
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
private static void EnsureCscRsp()
|
|
136
|
-
{
|
|
137
|
-
try
|
|
138
|
-
{
|
|
139
|
-
if (!File.Exists(RspFilePath))
|
|
140
|
-
{
|
|
141
|
-
File.WriteAllText(RspFilePath, string.Empty);
|
|
142
|
-
AssetDatabase.ImportAsset("csc.rsp");
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
string rspContent = File.ReadAllText(RspFilePath);
|
|
146
|
-
if (rspContent.Contains(LibraryArgument))
|
|
147
|
-
{
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
File.AppendAllText(RspFilePath, $"{LibraryArgument}\n");
|
|
152
|
-
AssetDatabase.ImportAsset("csc.rsp");
|
|
153
|
-
Debug.Log("Updated csc.rsp.");
|
|
154
|
-
}
|
|
155
|
-
catch (IOException ex)
|
|
156
|
-
{
|
|
157
|
-
Debug.LogError($"Failed to modify csc.rsp: {ex}");
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
#endif
|
|
1
|
+
#if UNITY_EDITOR
|
|
2
|
+
|
|
3
|
+
namespace DxMessaging.Editor
|
|
4
|
+
{
|
|
5
|
+
using System;
|
|
6
|
+
using System.Collections.Generic;
|
|
7
|
+
using System.IO;
|
|
8
|
+
using System.Linq;
|
|
9
|
+
using UnityEditor;
|
|
10
|
+
using UnityEngine;
|
|
11
|
+
using Object = UnityEngine.Object;
|
|
12
|
+
|
|
13
|
+
[InitializeOnLoad]
|
|
14
|
+
public static class SetupCscRsp
|
|
15
|
+
{
|
|
16
|
+
private static readonly string RspFilePath = Path.Combine(
|
|
17
|
+
Application.dataPath,
|
|
18
|
+
"..",
|
|
19
|
+
"csc.rsp"
|
|
20
|
+
)
|
|
21
|
+
.Replace("\\", "/");
|
|
22
|
+
|
|
23
|
+
private static readonly string AnalyzerPathRelative =
|
|
24
|
+
"Packages/com.wallstop-studios.dxmessaging/Editor/Analyzers/";
|
|
25
|
+
|
|
26
|
+
private static readonly string LibraryPathRelative =
|
|
27
|
+
"Library/PackageCache/com.wallstop-studios.dxmessaging/Editor/Analyzers/";
|
|
28
|
+
|
|
29
|
+
private static readonly string SourceGeneratorDllName =
|
|
30
|
+
"WallstopStudios.DxMessaging.SourceGenerators.dll";
|
|
31
|
+
|
|
32
|
+
private static readonly string[] RequiredDllNames =
|
|
33
|
+
{
|
|
34
|
+
SourceGeneratorDllName,
|
|
35
|
+
"Microsoft.CodeAnalysis.dll",
|
|
36
|
+
"Microsoft.CodeAnalysis.CSharp.dll",
|
|
37
|
+
"System.Reflection.Metadata.dll",
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
private static readonly string LibraryArgument = $"-a:\"{LibraryPathRelative}\"";
|
|
41
|
+
|
|
42
|
+
static SetupCscRsp()
|
|
43
|
+
{
|
|
44
|
+
EditorApplication.delayCall += EnsureDLLsExistInAssets;
|
|
45
|
+
EditorApplication.delayCall += EnsureCscRsp;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
private static void EnsureDLLsExistInAssets()
|
|
49
|
+
{
|
|
50
|
+
HashSet<string> dllNames = new();
|
|
51
|
+
foreach (
|
|
52
|
+
string dllGuid in AssetDatabase.FindAssets("t:DefaultAsset", new[] { "Assets" })
|
|
53
|
+
)
|
|
54
|
+
{
|
|
55
|
+
string dllPath = AssetDatabase.GUIDToAssetPath(dllGuid);
|
|
56
|
+
if (!dllPath.EndsWith(".dll"))
|
|
57
|
+
{
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
string dllName = Path.GetFileName(dllPath);
|
|
62
|
+
dllNames.Add(dllName);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
string[] dllRelativeDirectories = { LibraryPathRelative, AnalyzerPathRelative };
|
|
66
|
+
|
|
67
|
+
bool anyFound = false;
|
|
68
|
+
foreach (
|
|
69
|
+
string requiredDllName in RequiredDllNames.Where(dllName =>
|
|
70
|
+
!dllNames.Contains(dllName)
|
|
71
|
+
)
|
|
72
|
+
)
|
|
73
|
+
{
|
|
74
|
+
bool found = false;
|
|
75
|
+
foreach (string relativeDirectory in dllRelativeDirectories)
|
|
76
|
+
{
|
|
77
|
+
try
|
|
78
|
+
{
|
|
79
|
+
string sourceFile = $"{relativeDirectory}{requiredDllName}";
|
|
80
|
+
if (!File.Exists(sourceFile))
|
|
81
|
+
{
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
const string pluginsDirectory =
|
|
86
|
+
"Assets/Plugins/WallstopStudios.DxMessaging/";
|
|
87
|
+
string outputAsset = $"{pluginsDirectory}{requiredDllName}";
|
|
88
|
+
Directory.CreateDirectory(pluginsDirectory);
|
|
89
|
+
if (!File.Exists(outputAsset))
|
|
90
|
+
{
|
|
91
|
+
File.Copy($"{relativeDirectory}{requiredDllName}", outputAsset);
|
|
92
|
+
AssetDatabase.ImportAsset(outputAsset);
|
|
93
|
+
found = true;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (requiredDllName == SourceGeneratorDllName)
|
|
97
|
+
{
|
|
98
|
+
Object loadedDll = AssetDatabase.LoadMainAssetAtPath(outputAsset);
|
|
99
|
+
AssetDatabase.SetLabels(loadedDll, new[] { "RoslynAnalyzer" });
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
PluginImporter importer =
|
|
103
|
+
AssetImporter.GetAtPath(outputAsset) as PluginImporter;
|
|
104
|
+
if (importer != null)
|
|
105
|
+
{
|
|
106
|
+
importer.SetCompatibleWithAnyPlatform(false);
|
|
107
|
+
importer.SetExcludeFromAnyPlatform("Editor", false);
|
|
108
|
+
importer.SetExcludeFromAnyPlatform("Standalone", false);
|
|
109
|
+
importer.SaveAndReimport();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
catch (Exception e)
|
|
115
|
+
{
|
|
116
|
+
Debug.LogError(
|
|
117
|
+
$"Failed to copy {requiredDllName} to Assets, failed with {e}."
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
anyFound |= found;
|
|
123
|
+
Debug.Log(
|
|
124
|
+
$"Missing required dll '{requiredDllName}', "
|
|
125
|
+
+ $"{(found ? "creation successful." : "WARNING! Manual creation required.")}"
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (anyFound)
|
|
130
|
+
{
|
|
131
|
+
AssetDatabase.Refresh();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
private static void EnsureCscRsp()
|
|
136
|
+
{
|
|
137
|
+
try
|
|
138
|
+
{
|
|
139
|
+
if (!File.Exists(RspFilePath))
|
|
140
|
+
{
|
|
141
|
+
File.WriteAllText(RspFilePath, string.Empty);
|
|
142
|
+
AssetDatabase.ImportAsset("csc.rsp");
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
string rspContent = File.ReadAllText(RspFilePath);
|
|
146
|
+
if (rspContent.Contains(LibraryArgument))
|
|
147
|
+
{
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
File.AppendAllText(RspFilePath, $"{LibraryArgument}\n");
|
|
152
|
+
AssetDatabase.ImportAsset("csc.rsp");
|
|
153
|
+
Debug.Log("Updated csc.rsp.");
|
|
154
|
+
}
|
|
155
|
+
catch (IOException ex)
|
|
156
|
+
{
|
|
157
|
+
Debug.LogError($"Failed to modify csc.rsp: {ex}");
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
#endif
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 54bd01ff5fd34bbc9950a1c7230a15d8
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 54bd01ff5fd34bbc9950a1c7230a15d8
|
|
3
3
|
timeCreated: 1730841461
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "WallstopStudios.DxMessaging.Editor",
|
|
3
|
-
"rootNamespace": "DxMessaging.Editor",
|
|
4
|
-
"references": [
|
|
5
|
-
"WallstopStudios.DxMessaging"
|
|
6
|
-
],
|
|
7
|
-
"includePlatforms": [
|
|
8
|
-
"Editor"
|
|
9
|
-
],
|
|
10
|
-
"excludePlatforms": [],
|
|
11
|
-
"allowUnsafeCode": false,
|
|
12
|
-
"overrideReferences": false,
|
|
13
|
-
"precompiledReferences": [],
|
|
14
|
-
"autoReferenced": true,
|
|
15
|
-
"defineConstraints": [],
|
|
16
|
-
"versionDefines": [],
|
|
17
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "WallstopStudios.DxMessaging.Editor",
|
|
3
|
+
"rootNamespace": "DxMessaging.Editor",
|
|
4
|
+
"references": [
|
|
5
|
+
"WallstopStudios.DxMessaging"
|
|
6
|
+
],
|
|
7
|
+
"includePlatforms": [
|
|
8
|
+
"Editor"
|
|
9
|
+
],
|
|
10
|
+
"excludePlatforms": [],
|
|
11
|
+
"allowUnsafeCode": false,
|
|
12
|
+
"overrideReferences": false,
|
|
13
|
+
"precompiledReferences": [],
|
|
14
|
+
"autoReferenced": true,
|
|
15
|
+
"defineConstraints": [],
|
|
16
|
+
"versionDefines": [],
|
|
17
|
+
"noEngineReferences": false
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 4be90ea11db262f43913b0e065a25c7f
|
|
3
|
-
AssemblyDefinitionImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4be90ea11db262f43913b0e065a25c7f
|
|
3
|
+
AssemblyDefinitionImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
package/Editor.meta
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 41dce8be641afe34ca8363865b8cd5d9
|
|
3
|
-
folderAsset: yes
|
|
4
|
-
DefaultImporter:
|
|
5
|
-
externalObjects: {}
|
|
6
|
-
userData:
|
|
7
|
-
assetBundleName:
|
|
8
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 41dce8be641afe34ca8363865b8cd5d9
|
|
3
|
+
folderAsset: yes
|
|
4
|
+
DefaultImporter:
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
userData:
|
|
7
|
+
assetBundleName:
|
|
8
|
+
assetBundleVariant:
|
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Copyright 2023 Eli Pinkerton
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
1
|
+
Copyright 2023 Eli Pinkerton
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
7
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/LICENSE.md.meta
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 2f7b715fd1838ea49b6fe45bcdd2e7eb
|
|
3
|
-
TextScriptImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 2f7b715fd1838ea49b6fe45bcdd2e7eb
|
|
3
|
+
TextScriptImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|