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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  namespace Code {
4
4
  public static class AirshipConst {
5
- public const int playerVersion = 15;
5
+ public const int playerVersion = 16;
6
6
 
7
7
  /// <summary>
8
8
  /// The server will kick clients that have a playerVersion lower than this value.
@@ -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 targetScreenHeightPixels = 64f;
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 = targetScreenHeightPixels;
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);
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>24F74</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>24F74</string>
30
+ <string>25A352</string>
31
31
  <key>DTPlatformName</key>
32
32
  <string>macosx</string>
33
33
  <key>DTPlatformVersion</key>
34
- <string>15.5</string>
34
+ <string>26.0</string>
35
35
  <key>DTSDKBuild</key>
36
- <string>24F74</string>
36
+ <string>25A352</string>
37
37
  <key>DTSDKName</key>
38
- <string>macosx15.5</string>
38
+ <string>macosx26.0</string>
39
39
  <key>DTXcode</key>
40
- <string>1640</string>
40
+ <string>2600</string>
41
41
  <key>DTXcodeBuild</key>
42
- <string>16F6</string>
42
+ <string>17A321</string>
43
43
  <key>LSMinimumSystemVersion</key>
44
44
  <string>13.0</string>
45
45
  <key>NSHumanReadableCopyright</key>
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg.easy.airship",
3
- "version": "0.1.2178",
3
+ "version": "0.1.2179",
4
4
  "displayName": "Airship",
5
5
  "unity": "2021.3",
6
6
  "unityRelease": "12f1",