gg.easy.airship 0.1.2207 → 0.1.2208
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/AirshipComponentEditor.cs +8 -4
- package/Editor/Publish/Deploy.cs +7 -7
- package/Editor/TypescriptCompiler~/utsc.js +141 -141
- package/Editor/TypescriptServices/Compiler/NodeJsArguments.cs +11 -1
- package/Editor/TypescriptServices/Compiler/TypescriptCompilationService.cs +14 -3
- package/Editor/TypescriptServices/Compiler/TypescriptCompilerWatchState.cs +2 -1
- package/Editor/TypescriptServices/Editor/AirshipExternalCodeEditor.cs +7 -0
- package/Editor/TypescriptServices/Editor/NodeDetection/AirshipNodeVersion.cs +201 -0
- package/Editor/TypescriptServices/Editor/NodeDetection/AirshipNodeVersion.cs.meta +3 -0
- package/Editor/TypescriptServices/Editor/NodeDetection/AirshipOsxNodeDistribution.cs +49 -0
- package/Editor/TypescriptServices/Editor/NodeDetection/AirshipOsxNodeDistribution.cs.meta +3 -0
- package/Editor/TypescriptServices/Editor/NodeDetection/AirshipWindowsNodeDistribution.cs +52 -0
- package/Editor/TypescriptServices/Editor/NodeDetection/AirshipWindowsNodeDistribution.cs.meta +3 -0
- package/Editor/TypescriptServices/Editor/NodeDetection.meta +3 -0
- package/Editor/TypescriptServices/Editor/TypescriptOptions.cs +43 -1
- package/Runtime/Code/Auth/AuthManager.cs +4 -0
- package/Runtime/Code/Luau/LuauCoreReflection.cs +3 -16
- package/Runtime/Code/Voice/AirshipUniVoice.cs +2 -0
- package/Runtime/Code/VoxelWorld/Editor/SelectionZone.cs +1 -1
- package/Runtime/Code/VoxelWorld/Editor/VoxelBuilderEditorWindow.cs +3 -3
- package/Runtime/Code/VoxelWorld/Editor/VoxelWorldEditor.cs +18 -18
- package/Runtime/Code/VoxelWorld/Resources/VoxelWorldMatURP.mat +3 -3
- package/Runtime/Code/VoxelWorld/VoxelBlocks.cs +9 -4
- package/Runtime/Code/VoxelWorld/VoxelMeshCopy.cs +9 -9
- package/Runtime/Code/VoxelWorld/VoxelMeshProcessor.cs +43 -43
- package/Runtime/Code/VoxelWorld/VoxelQuarterBlock.cs +32 -32
- package/Runtime/Code/VoxelWorld/VoxelWorld.cs +206 -96
- package/Runtime/Code/VoxelWorld/VoxelWorldChunk.cs +90 -55
- package/Runtime/Code/VoxelWorld/VoxelWorldCollision.cs +4 -4
- package/Runtime/Code/VoxelWorld/VoxelWorldNetworker.cs +2 -2
- package/Runtime/Code/VoxelWorld/VoxelWorldRaycasts.cs +5 -5
- package/Runtime/Code/VoxelWorld/WorldSaveFile.cs +99 -50
- package/Runtime/Plugins/Android/libLuauPlugin.so +0 -0
- package/Runtime/Plugins/Linux/libLuauPlugin.so +0 -0
- package/Runtime/Plugins/Mac/LuauPlugin.bundle/Contents/MacOS/LuauPlugin +0 -0
- package/Runtime/Plugins/Windows/x64/LuauPlugin.dll +0 -0
- package/Runtime/Plugins/iOS/LuauPluginIos.a +0 -0
- package/ThirdParty/Adrenak.RNNoise4Unity/Runtime/Adrenak.RNNoise4Unity.Runtime.asmdef +3 -1
- package/ThirdParty/Adrenak.UniVoice/Runtime/Adrenak.UniVoice.Runtime.asmdef +0 -1
- package/ThirdParty/Adrenak.UniVoice/Runtime/Impl/Filters/RNNoise/RNNoiseFilter.cs +3 -1
- package/URP/AirshipMobileURPAsset.asset +0 -2
- package/URP/AirshipURPAsset.asset +0 -2
- package/package.json +1 -1
|
@@ -139,12 +139,16 @@ public class ScriptBindingEditor : UnityEditor.Editor {
|
|
|
139
139
|
componentEditor.OnInspectorGUI();
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
if (GUI.changed) {
|
|
143
|
+
if (Application.isPlaying) {
|
|
144
|
+
var component = (AirshipComponent)target;
|
|
145
|
+
component.WriteChangedComponentProperties();
|
|
146
|
+
|
|
147
|
+
}
|
|
143
148
|
|
|
144
|
-
|
|
145
|
-
var component = (AirshipComponent)target;
|
|
146
|
-
component.WriteChangedComponentProperties();
|
|
149
|
+
serializedObject.ApplyModifiedProperties();
|
|
147
150
|
}
|
|
151
|
+
|
|
148
152
|
return true;
|
|
149
153
|
}
|
|
150
154
|
|
package/Editor/Publish/Deploy.cs
CHANGED
|
@@ -267,13 +267,14 @@ public class Deploy {
|
|
|
267
267
|
{
|
|
268
268
|
var st = Stopwatch.StartNew();
|
|
269
269
|
var binaryFileGuids = AssetDatabase.FindAssets("t:" + nameof(AirshipScript));
|
|
270
|
-
var paths = new List<string>();
|
|
270
|
+
var paths = new List<(string fileSystemPath, string bundlePath)>();
|
|
271
271
|
foreach (var guid in binaryFileGuids) {
|
|
272
|
-
var path = AssetDatabase.GUIDToAssetPath(guid)
|
|
272
|
+
var path = AssetDatabase.GUIDToAssetPath(guid);
|
|
273
273
|
if (path.StartsWith("assets/airshippackages", StringComparison.OrdinalIgnoreCase)) {
|
|
274
274
|
continue;
|
|
275
275
|
}
|
|
276
|
-
|
|
276
|
+
// linux is case-sensitive, so we need fsPath as well.
|
|
277
|
+
paths.Add((fileSystemPath: path, bundlePath: path.ToLowerInvariant()));
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
// var airshipBuildInfoGuids = AssetDatabase.FindAssets("t:" + nameof(AirshipBuildInfo));
|
|
@@ -286,14 +287,13 @@ public class Deploy {
|
|
|
286
287
|
File.Delete(codeZipPath);
|
|
287
288
|
}
|
|
288
289
|
var codeZip = new ZipFile();
|
|
289
|
-
foreach (var path in paths) {
|
|
290
|
+
foreach (var (fsPath, path) in paths) {
|
|
290
291
|
// if (path.EndsWith(".asbuildinfo")) {
|
|
291
292
|
// codeZip.AddEntry(path, File.ReadAllBytes(path));
|
|
292
293
|
// continue;
|
|
293
294
|
// }
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
var luaOutPath = TypescriptProjectsService.Project.GetOutputPath(path.Replace("assets/", "Assets/"));
|
|
295
|
+
|
|
296
|
+
var luaOutPath = TypescriptProjectsService.Project.GetOutputPath(fsPath);
|
|
297
297
|
if (!File.Exists(luaOutPath)) {
|
|
298
298
|
Debug.LogWarning("Missing lua file: " + luaOutPath);
|
|
299
299
|
continue;
|