gg.easy.airship 0.1.2178 → 0.1.2179
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/Runtime/Code/AirshipConst.cs +1 -1
- package/Runtime/Code/Components/WorldSpaceScreenScaler.cs +3 -3
- package/Runtime/Plugins/Android/libLuauPlugin.so +0 -0
- package/Runtime/Plugins/Linux/libLuauPlugin.so +0 -0
- package/Runtime/Plugins/Mac/LuauPlugin.bundle/Contents/Info.plist +7 -7
- 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/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
namespace Code.Components {
|
|
2
2
|
using UnityEngine;
|
|
3
3
|
|
|
4
|
-
[ExecuteAlways]
|
|
4
|
+
// [ExecuteAlways]
|
|
5
5
|
public class WorldSpaceCanvasScaler : MonoBehaviour {
|
|
6
6
|
[Header("Camera & Facing")]
|
|
7
7
|
public Camera cam; // If null, uses Camera.main
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
[Header("Screen-Space Target")]
|
|
11
11
|
[Tooltip("How tall (in pixels) the whole RectTransform should appear on screen.")]
|
|
12
|
-
public float
|
|
12
|
+
public float targetScreenHeightScale = 0.2f;
|
|
13
13
|
|
|
14
14
|
// [Tooltip("Clamp the apparent size (pixels). Set to 0 to disable.")]
|
|
15
15
|
// public float minScreenHeightPixels = 0f;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
// if (maxDistance > 0f && maxDistance >= minDistance && d > maxDistance) d = maxDistance;
|
|
50
50
|
|
|
51
51
|
// Desired pixel height with clamps
|
|
52
|
-
float desiredPx =
|
|
52
|
+
float desiredPx = targetScreenHeightScale * Screen.height;
|
|
53
53
|
// if (minScreenHeightPixels > 0f) desiredPx = Mathf.Max(desiredPx, minScreenHeightPixels);
|
|
54
54
|
// if (maxScreenHeightPixels > 0f && maxScreenHeightPixels >= minScreenHeightPixels)
|
|
55
55
|
// desiredPx = Mathf.Min(desiredPx, maxScreenHeightPixels);
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<plist version="1.0">
|
|
4
4
|
<dict>
|
|
5
5
|
<key>BuildMachineOSBuild</key>
|
|
6
|
-
<string>
|
|
6
|
+
<string>24G84</string>
|
|
7
7
|
<key>CFBundleDevelopmentRegion</key>
|
|
8
8
|
<string>en</string>
|
|
9
9
|
<key>CFBundleExecutable</key>
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
<key>DTCompiler</key>
|
|
28
28
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
29
29
|
<key>DTPlatformBuild</key>
|
|
30
|
-
<string>
|
|
30
|
+
<string>25A352</string>
|
|
31
31
|
<key>DTPlatformName</key>
|
|
32
32
|
<string>macosx</string>
|
|
33
33
|
<key>DTPlatformVersion</key>
|
|
34
|
-
<string>
|
|
34
|
+
<string>26.0</string>
|
|
35
35
|
<key>DTSDKBuild</key>
|
|
36
|
-
<string>
|
|
36
|
+
<string>25A352</string>
|
|
37
37
|
<key>DTSDKName</key>
|
|
38
|
-
<string>
|
|
38
|
+
<string>macosx26.0</string>
|
|
39
39
|
<key>DTXcode</key>
|
|
40
|
-
<string>
|
|
40
|
+
<string>2600</string>
|
|
41
41
|
<key>DTXcodeBuild</key>
|
|
42
|
-
<string>
|
|
42
|
+
<string>17A321</string>
|
|
43
43
|
<key>LSMinimumSystemVersion</key>
|
|
44
44
|
<string>13.0</string>
|
|
45
45
|
<key>NSHumanReadableCopyright</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|