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.
Files changed (43) hide show
  1. package/Editor/AirshipComponentEditor.cs +8 -4
  2. package/Editor/Publish/Deploy.cs +7 -7
  3. package/Editor/TypescriptCompiler~/utsc.js +141 -141
  4. package/Editor/TypescriptServices/Compiler/NodeJsArguments.cs +11 -1
  5. package/Editor/TypescriptServices/Compiler/TypescriptCompilationService.cs +14 -3
  6. package/Editor/TypescriptServices/Compiler/TypescriptCompilerWatchState.cs +2 -1
  7. package/Editor/TypescriptServices/Editor/AirshipExternalCodeEditor.cs +7 -0
  8. package/Editor/TypescriptServices/Editor/NodeDetection/AirshipNodeVersion.cs +201 -0
  9. package/Editor/TypescriptServices/Editor/NodeDetection/AirshipNodeVersion.cs.meta +3 -0
  10. package/Editor/TypescriptServices/Editor/NodeDetection/AirshipOsxNodeDistribution.cs +49 -0
  11. package/Editor/TypescriptServices/Editor/NodeDetection/AirshipOsxNodeDistribution.cs.meta +3 -0
  12. package/Editor/TypescriptServices/Editor/NodeDetection/AirshipWindowsNodeDistribution.cs +52 -0
  13. package/Editor/TypescriptServices/Editor/NodeDetection/AirshipWindowsNodeDistribution.cs.meta +3 -0
  14. package/Editor/TypescriptServices/Editor/NodeDetection.meta +3 -0
  15. package/Editor/TypescriptServices/Editor/TypescriptOptions.cs +43 -1
  16. package/Runtime/Code/Auth/AuthManager.cs +4 -0
  17. package/Runtime/Code/Luau/LuauCoreReflection.cs +3 -16
  18. package/Runtime/Code/Voice/AirshipUniVoice.cs +2 -0
  19. package/Runtime/Code/VoxelWorld/Editor/SelectionZone.cs +1 -1
  20. package/Runtime/Code/VoxelWorld/Editor/VoxelBuilderEditorWindow.cs +3 -3
  21. package/Runtime/Code/VoxelWorld/Editor/VoxelWorldEditor.cs +18 -18
  22. package/Runtime/Code/VoxelWorld/Resources/VoxelWorldMatURP.mat +3 -3
  23. package/Runtime/Code/VoxelWorld/VoxelBlocks.cs +9 -4
  24. package/Runtime/Code/VoxelWorld/VoxelMeshCopy.cs +9 -9
  25. package/Runtime/Code/VoxelWorld/VoxelMeshProcessor.cs +43 -43
  26. package/Runtime/Code/VoxelWorld/VoxelQuarterBlock.cs +32 -32
  27. package/Runtime/Code/VoxelWorld/VoxelWorld.cs +206 -96
  28. package/Runtime/Code/VoxelWorld/VoxelWorldChunk.cs +90 -55
  29. package/Runtime/Code/VoxelWorld/VoxelWorldCollision.cs +4 -4
  30. package/Runtime/Code/VoxelWorld/VoxelWorldNetworker.cs +2 -2
  31. package/Runtime/Code/VoxelWorld/VoxelWorldRaycasts.cs +5 -5
  32. package/Runtime/Code/VoxelWorld/WorldSaveFile.cs +99 -50
  33. package/Runtime/Plugins/Android/libLuauPlugin.so +0 -0
  34. package/Runtime/Plugins/Linux/libLuauPlugin.so +0 -0
  35. package/Runtime/Plugins/Mac/LuauPlugin.bundle/Contents/MacOS/LuauPlugin +0 -0
  36. package/Runtime/Plugins/Windows/x64/LuauPlugin.dll +0 -0
  37. package/Runtime/Plugins/iOS/LuauPluginIos.a +0 -0
  38. package/ThirdParty/Adrenak.RNNoise4Unity/Runtime/Adrenak.RNNoise4Unity.Runtime.asmdef +3 -1
  39. package/ThirdParty/Adrenak.UniVoice/Runtime/Adrenak.UniVoice.Runtime.asmdef +0 -1
  40. package/ThirdParty/Adrenak.UniVoice/Runtime/Impl/Filters/RNNoise/RNNoiseFilter.cs +3 -1
  41. package/URP/AirshipMobileURPAsset.asset +0 -2
  42. package/URP/AirshipURPAsset.asset +0 -2
  43. package/package.json +1 -1
@@ -139,12 +139,16 @@ public class ScriptBindingEditor : UnityEditor.Editor {
139
139
  componentEditor.OnInspectorGUI();
140
140
  }
141
141
 
142
- serializedObject.ApplyModifiedProperties();
142
+ if (GUI.changed) {
143
+ if (Application.isPlaying) {
144
+ var component = (AirshipComponent)target;
145
+ component.WriteChangedComponentProperties();
146
+
147
+ }
143
148
 
144
- if (Application.isPlaying) {
145
- var component = (AirshipComponent)target;
146
- component.WriteChangedComponentProperties();
149
+ serializedObject.ApplyModifiedProperties();
147
150
  }
151
+
148
152
  return true;
149
153
  }
150
154
 
@@ -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).ToLowerInvariant();
272
+ var path = AssetDatabase.GUIDToAssetPath(guid);
273
273
  if (path.StartsWith("assets/airshippackages", StringComparison.OrdinalIgnoreCase)) {
274
274
  continue;
275
275
  }
276
- paths.Add(path);
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
- // GetOutputPath is case sensitive so hacky workaround is to make our path start with capital "A"
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;