gg.easy.airship 0.1.2146 → 0.1.2148
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/Easy.Airship.asmdef +2 -1
- package/Runtime/Code/Luau/Airship.LuauCore.asmdef +3 -1
- package/Runtime/Code/Luau/LuauCoreCallbacks.cs +1 -1
- package/Runtime/Code/Luau/ReflectionList.cs +10 -0
- package/Runtime/Code/LuauAPI/BezierCurveAPI.cs +9 -0
- package/Runtime/Code/LuauAPI/BezierCurveAPI.cs.meta +3 -0
- package/Runtime/Code/LuauAPI/BezierKnotAPI.cs +9 -0
- package/Runtime/Code/LuauAPI/BezierKnotAPI.cs.meta +3 -0
- package/Runtime/Code/LuauAPI/Bridge.cs +5 -0
- package/Runtime/Code/LuauAPI/CurveUtilityAPI.cs +9 -0
- package/Runtime/Code/LuauAPI/CurveUtilityAPI.cs.meta +3 -0
- package/Runtime/Code/LuauAPI/Float3API.cs +9 -0
- package/Runtime/Code/LuauAPI/Float3API.cs.meta +3 -0
- package/Runtime/Code/LuauAPI/SplineAPI.cs +9 -0
- package/Runtime/Code/LuauAPI/SplineAPI.cs.meta +3 -0
- package/Runtime/Code/LuauAPI/SplineUtilityAPI.cs +52 -0
- package/Runtime/Code/LuauAPI/SplineUtilityAPI.cs.meta +3 -0
- package/Runtime/Code/Player/Character/MovementSystems/Character/CharacterMovement.cs +59 -76
- package/Runtime/Code/TSCodeGen/Editor/CsToTs/TypeScript/Helper.cs +16 -2
- package/Runtime/Code/TSCodeGen/TypeGenerator.cs +11 -0
- 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/Windows/x64/LuauPlugin.pdb +0 -0
- package/Runtime/Plugins/iOS/LuauPluginIos.a +0 -0
- package/package.json +3 -2
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"GUID:3b5390adca4e2bb4791cb930316d6f3e",
|
|
54
54
|
"GUID:725ee7191c021de4dbf9269590ded755",
|
|
55
55
|
"GUID:2a0340569ab0e1245a38e0d6c7b2529b",
|
|
56
|
-
"GUID:befe48b9a36afc04ea625c93daad910e"
|
|
56
|
+
"GUID:befe48b9a36afc04ea625c93daad910e",
|
|
57
|
+
"GUID:21d1eb854b91ade49bc69a263d12bee2"
|
|
57
58
|
],
|
|
58
59
|
"includePlatforms": [],
|
|
59
60
|
"excludePlatforms": [],
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"GUID:15fc0a57446b3144c949da3e2b9737a9",
|
|
23
23
|
"GUID:ec266f293c0b4f6c9d06847488a52a0c",
|
|
24
24
|
"GUID:325984b52e4128546bc7558552f8b1d2",
|
|
25
|
-
"GUID:befe48b9a36afc04ea625c93daad910e"
|
|
25
|
+
"GUID:befe48b9a36afc04ea625c93daad910e",
|
|
26
|
+
"GUID:21d1eb854b91ade49bc69a263d12bee2",
|
|
27
|
+
"GUID:d8b63aba1907145bea998dd612889d6b"
|
|
26
28
|
],
|
|
27
29
|
"includePlatforms": [],
|
|
28
30
|
"excludePlatforms": [],
|
|
@@ -663,7 +663,7 @@ public partial class LuauCore : MonoBehaviour {
|
|
|
663
663
|
|
|
664
664
|
private static T GetValue<T>(object instance, PropertyGetReflectionCache cacheData) {
|
|
665
665
|
if (typeof(T) == typeof(object) || cacheData.IsNativeClass || cacheData.IsStruct) {
|
|
666
|
-
return (T) cacheData.propertyInfo.
|
|
666
|
+
return (T) cacheData.propertyInfo.GetValue(instance);
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
if (!cacheData.HasGetPropertyFunc) {
|
|
@@ -4,6 +4,7 @@ using System.Reflection;
|
|
|
4
4
|
using ElRaccoone.Tweens;
|
|
5
5
|
using Mirror;
|
|
6
6
|
using TMPro;
|
|
7
|
+
using Unity.Mathematics;
|
|
7
8
|
using UnityEngine;
|
|
8
9
|
using UnityEngine.AI;
|
|
9
10
|
using UnityEngine.Animations.Rigging;
|
|
@@ -14,6 +15,7 @@ using UnityEngine.Experimental.Rendering;
|
|
|
14
15
|
using UnityEngine.Rendering;
|
|
15
16
|
using UnityEngine.Rendering.Universal;
|
|
16
17
|
using UnityEngine.SceneManagement;
|
|
18
|
+
using UnityEngine.Splines;
|
|
17
19
|
using UnityEngine.UI;
|
|
18
20
|
using UnityEngine.UIElements;
|
|
19
21
|
using LightType = UnityEngine.LightType;
|
|
@@ -184,6 +186,14 @@ namespace Luau {
|
|
|
184
186
|
[typeof(MeshFilter)] = LuauContextAll,
|
|
185
187
|
[typeof(Sprite)] = LuauContextAll,
|
|
186
188
|
[typeof(DecalProjector)] = LuauContextAll,
|
|
189
|
+
//Spline
|
|
190
|
+
[typeof(Spline)] = LuauContextAll,
|
|
191
|
+
[typeof(BezierCurve)] = LuauContextAll,
|
|
192
|
+
[typeof(CurveUtility)] = LuauContextAll,
|
|
193
|
+
[typeof(SplineUtility)] = LuauContextAll,
|
|
194
|
+
[typeof(BezierKnot)] = LuauContextAll,
|
|
195
|
+
[typeof(float3)] = LuauContextAll,
|
|
196
|
+
[typeof(SplineAnimate)] = LuauContextAll,
|
|
187
197
|
|
|
188
198
|
// Rigging
|
|
189
199
|
[typeof(TwoBoneIKConstraint)] = LuauContextAll,
|
|
@@ -6,6 +6,7 @@ using Airship.DevConsole;
|
|
|
6
6
|
using Code.VoiceChat;
|
|
7
7
|
using Mirror;
|
|
8
8
|
using Tayx.Graphy;
|
|
9
|
+
using Unity.Mathematics;
|
|
9
10
|
using UnityEngine;
|
|
10
11
|
using UnityEngine.Networking;
|
|
11
12
|
using UnityEngine.SceneManagement;
|
|
@@ -448,6 +449,10 @@ public static class Bridge {
|
|
|
448
449
|
return scenes.ToArray();
|
|
449
450
|
}
|
|
450
451
|
|
|
452
|
+
public static float3 MakeFloat3(Vector3 v) {
|
|
453
|
+
return new float3(v.x, v.y, v.z);
|
|
454
|
+
}
|
|
455
|
+
|
|
451
456
|
public static void SetSkyboxMaterial(Material material) {
|
|
452
457
|
RenderSettings.skybox = material;
|
|
453
458
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using Unity.Mathematics;
|
|
3
|
+
using UnityEngine.Splines;
|
|
4
|
+
|
|
5
|
+
[LuauAPI]
|
|
6
|
+
public class SplineUtilityAPI : BaseLuaAPIClass {
|
|
7
|
+
public override Type GetAPIType() {
|
|
8
|
+
return typeof(SplineUtility);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// public override int OverrideStaticMethod(LuauContext context, IntPtr thread, string methodName, int numParameters,
|
|
12
|
+
// ArraySegment<int> parameterDataPODTypes, ArraySegment<IntPtr> parameterDataPtrs, ArraySegment<int> parameterDataSizes) {
|
|
13
|
+
//
|
|
14
|
+
// if (methodName == "EvaluatePosition") {
|
|
15
|
+
// var spline = (ISpline) LuauCore.GetParameterAsObject(0, numParameters, parameterDataPODTypes, parameterDataPtrs,
|
|
16
|
+
// parameterDataSizes, thread);
|
|
17
|
+
//
|
|
18
|
+
// var f = LuauCore.GetParameterAsFloat(1, numParameters, parameterDataPODTypes, parameterDataPtrs,
|
|
19
|
+
// parameterDataSizes);
|
|
20
|
+
//
|
|
21
|
+
// var result = SplineUtility.EvaluatePosition(spline, f);
|
|
22
|
+
// LuauCore.WritePropertyToThread(thread, result, typeof(float3));
|
|
23
|
+
// return 1;
|
|
24
|
+
// }
|
|
25
|
+
//
|
|
26
|
+
// if (methodName == "EvaluateTangent") {
|
|
27
|
+
// var spline = (ISpline) LuauCore.GetParameterAsObject(0, numParameters, parameterDataPODTypes, parameterDataPtrs,
|
|
28
|
+
// parameterDataSizes, thread);
|
|
29
|
+
//
|
|
30
|
+
// var f = LuauCore.GetParameterAsFloat(1, numParameters, parameterDataPODTypes, parameterDataPtrs,
|
|
31
|
+
// parameterDataSizes);
|
|
32
|
+
//
|
|
33
|
+
// var result = SplineUtility.EvaluateTangent(spline, f);
|
|
34
|
+
// LuauCore.WritePropertyToThread(thread, result, typeof(float3));
|
|
35
|
+
// return 1;
|
|
36
|
+
// }
|
|
37
|
+
//
|
|
38
|
+
// if (methodName == "EvaluateUpVector") {
|
|
39
|
+
// var spline = (ISpline) LuauCore.GetParameterAsObject(0, numParameters, parameterDataPODTypes, parameterDataPtrs,
|
|
40
|
+
// parameterDataSizes, thread);
|
|
41
|
+
//
|
|
42
|
+
// var f = LuauCore.GetParameterAsFloat(1, numParameters, parameterDataPODTypes, parameterDataPtrs,
|
|
43
|
+
// parameterDataSizes);
|
|
44
|
+
//
|
|
45
|
+
// var result = SplineUtility.EvaluateUpVector(spline, f);
|
|
46
|
+
// LuauCore.WritePropertyToThread(thread, result, typeof(float3));
|
|
47
|
+
// return 1;
|
|
48
|
+
// }
|
|
49
|
+
//
|
|
50
|
+
// return -1;
|
|
51
|
+
// }
|
|
52
|
+
}
|
|
@@ -659,10 +659,10 @@ namespace Code.Player.Character.MovementSystems.Character {
|
|
|
659
659
|
newVelocity += pendingImpulse;
|
|
660
660
|
currentMoveSnapshot.airborneFromImpulse = !grounded || pendingImpulse.y > .01f;
|
|
661
661
|
pendingImpulse = Vector3.zero;
|
|
662
|
-
if (isImpulsing) {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
}
|
|
662
|
+
// if (isImpulsing) {
|
|
663
|
+
// print(" isImpulsing: " + isImpulsing + " impulse force: " + pendingImpulse + "New Vel: " +
|
|
664
|
+
// newVelocity);
|
|
665
|
+
// }
|
|
666
666
|
}
|
|
667
667
|
|
|
668
668
|
#endregion
|
|
@@ -1080,96 +1080,78 @@ namespace Code.Player.Character.MovementSystems.Character {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
1082
|
} else {
|
|
1083
|
+
//GRID BASED EDGE DETECTION
|
|
1083
1084
|
//Find the edge of the characters collider
|
|
1084
|
-
var
|
|
1085
|
-
// if (Mathf.Abs(axisAlignedDir.x) > Mathf.Abs(axisAlignedDir.z)) {
|
|
1086
|
-
// axisAlignedDir.z = 0;
|
|
1087
|
-
// } else {
|
|
1088
|
-
// axisAlignedDir.x = 0;
|
|
1089
|
-
// }
|
|
1090
|
-
|
|
1085
|
+
var smallRadius = (characterRadius - forwardMargin) * .9f;
|
|
1091
1086
|
var projectedPosition = transform.position + new Vector3(0, .1f, 0) +
|
|
1092
|
-
axisAlignedDir * distanceCheck +
|
|
1093
1087
|
velocityNorm * velocityMag;
|
|
1094
1088
|
|
|
1095
1089
|
if (drawDebugGizmos_CROUCH) {
|
|
1096
1090
|
GizmoUtils.DrawSphere(transform.position + new Vector3(0, .1f, 0), .05f, Color.black, 4, .1f);
|
|
1097
|
-
GizmoUtils.DrawSphere(transform.position + new Vector3(0, .1f, 0) +
|
|
1098
|
-
|
|
1091
|
+
//GizmoUtils.DrawSphere(transform.position + new Vector3(0, .1f, 0) +
|
|
1092
|
+
//axisAlignedDir * distanceCheck, .08f, Color.gray, 4, .1f);
|
|
1099
1093
|
GizmoUtils.DrawSphere(projectedPosition, .1f, Color.blue, 4, .1f);
|
|
1100
1094
|
}
|
|
1101
1095
|
|
|
1102
|
-
|
|
1103
|
-
var
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1096
|
+
var validGround = false;
|
|
1097
|
+
var groundCheckI = 0;
|
|
1098
|
+
var groundCheckPositions = new[] { projectedPosition, projectedPosition, projectedPosition };
|
|
1099
|
+
var groundVelocities = new[] { newVelocity, newVelocity, newVelocity };
|
|
1100
|
+
if (Mathf.Abs(newVelocity.x) > Mathf.Abs(newVelocity.z)) {
|
|
1101
|
+
//Check X Dir first
|
|
1102
|
+
groundCheckPositions[1].z = transform.position.z;
|
|
1103
|
+
groundCheckPositions[2].x = transform.position.x;
|
|
1104
|
+
groundVelocities[1].z = 0;
|
|
1105
|
+
groundVelocities[2].x = 0;
|
|
1106
|
+
} else {
|
|
1107
|
+
//Check Z dir first
|
|
1108
|
+
groundCheckPositions[1].x = transform.position.x;
|
|
1109
|
+
groundCheckPositions[2].z = transform.position.z;
|
|
1110
|
+
groundVelocities[1].x = 0;
|
|
1111
|
+
groundVelocities[2].z = 0;
|
|
1113
1112
|
}
|
|
1114
1113
|
|
|
1115
|
-
|
|
1116
|
-
//
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
//Something is in the way of the ground
|
|
1122
|
-
hitGround = false;
|
|
1123
|
-
}
|
|
1114
|
+
do {
|
|
1115
|
+
//Cast to see if there is ground where we want to walk (to handle cases where you can walk across gaps even if technically there is air in the voxel you are stepping onto)
|
|
1116
|
+
validGround = Physics.BoxCast(groundCheckPositions[groundCheckI],
|
|
1117
|
+
new Vector3(smallRadius, .05f, smallRadius),
|
|
1118
|
+
Vector3.down, out var groundHitInfo, Quaternion.identity, .25f,
|
|
1119
|
+
movementSettings.groundCollisionLayerMask);
|
|
1124
1120
|
|
|
1125
1121
|
if (drawDebugGizmos_CROUCH) {
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
.1f);
|
|
1122
|
+
GizmoUtils.DrawBox(groundCheckPositions[groundCheckI], Quaternion.identity,
|
|
1123
|
+
new Vector3(characterRadius, .05f, characterRadius),
|
|
1124
|
+
validGround ? Color.white : Color.red, .1f);
|
|
1130
1125
|
}
|
|
1131
|
-
}
|
|
1132
1126
|
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
var cornerDistance = characterRadius - forwardMargin;
|
|
1140
|
-
var offsetDirs = new Vector3[] {
|
|
1141
|
-
new(-dirDistance, .1f, 0),
|
|
1142
|
-
new(dirDistance, .1f, 0),
|
|
1143
|
-
new(0, .1f, -dirDistance),
|
|
1144
|
-
new(0, .1f, dirDistance),
|
|
1145
|
-
new(cornerDistance, .1f, -cornerDistance),
|
|
1146
|
-
new(cornerDistance, .1f, cornerDistance),
|
|
1147
|
-
new(-cornerDistance, .1f, -cornerDistance),
|
|
1148
|
-
new(-cornerDistance, .1f, cornerDistance)
|
|
1149
|
-
};
|
|
1150
|
-
Vector3 currentDir;
|
|
1151
|
-
Color color;
|
|
1152
|
-
for (var i = 0; i < offsetDirs.Length; i++) {
|
|
1153
|
-
color = Color.green;
|
|
1154
|
-
currentDir = offsetDirs[i];
|
|
1155
|
-
var dot = Vector3.Dot(newVelocity, currentDir);
|
|
1156
|
-
if (dot > 0 && !Physics.Raycast(transform.position + currentDir, Vector3.down, .25f,
|
|
1127
|
+
if (validGround) {
|
|
1128
|
+
//Raycast to see if there is a path to this ground we found
|
|
1129
|
+
var rayCheckPos = transform.position + new Vector3(0, .175f, 0);
|
|
1130
|
+
var endPos = groundCheckPositions[groundCheckI] + new Vector3(0, .175f, 0);
|
|
1131
|
+
var dist = Vector3.Distance(groundHitInfo.point, rayCheckPos);
|
|
1132
|
+
if (Physics.Raycast(rayCheckPos, endPos - rayCheckPos, dist,
|
|
1157
1133
|
movementSettings.groundCollisionLayerMask)) {
|
|
1158
|
-
//
|
|
1159
|
-
|
|
1160
|
-
? Mathf.Sign(newVelocity.x) * Mathf.Abs(newVelocity.x)
|
|
1161
|
-
: 0;
|
|
1162
|
-
newVelocity.z = currentDir.z == 0
|
|
1163
|
-
? Mathf.Sign(newVelocity.z) * Mathf.Abs(newVelocity.z)
|
|
1164
|
-
: 0;
|
|
1165
|
-
color = Color.red;
|
|
1134
|
+
//Something is in the way of the ground
|
|
1135
|
+
validGround = false;
|
|
1166
1136
|
}
|
|
1167
1137
|
|
|
1168
1138
|
if (drawDebugGizmos_CROUCH) {
|
|
1169
|
-
Debug.DrawLine(
|
|
1170
|
-
|
|
1139
|
+
Debug.DrawLine(rayCheckPos, rayCheckPos + (endPos - rayCheckPos) * dist,
|
|
1140
|
+
validGround ? Color.green : Color.magenta, .1f);
|
|
1141
|
+
GizmoUtils.DrawSphere(groundHitInfo.point, .05f,
|
|
1142
|
+
validGround ? Color.green : Color.magenta, 4,
|
|
1143
|
+
.1f);
|
|
1171
1144
|
}
|
|
1172
1145
|
}
|
|
1146
|
+
|
|
1147
|
+
groundCheckI++;
|
|
1148
|
+
} while (!validGround && groundCheckI < 3);
|
|
1149
|
+
|
|
1150
|
+
if (validGround) {
|
|
1151
|
+
newVelocity = groundVelocities[groundCheckI - 1];
|
|
1152
|
+
} else {
|
|
1153
|
+
newVelocity.x = 0;
|
|
1154
|
+
newVelocity.z = 0;
|
|
1173
1155
|
}
|
|
1174
1156
|
}
|
|
1175
1157
|
}
|
|
@@ -1465,13 +1447,13 @@ namespace Code.Player.Character.MovementSystems.Character {
|
|
|
1465
1447
|
if (mode == NetworkedStateSystemMode.Observer) {
|
|
1466
1448
|
return;
|
|
1467
1449
|
}
|
|
1468
|
-
|
|
1450
|
+
|
|
1469
1451
|
if (!_smoothLookVector) {
|
|
1470
1452
|
var lookTarget = new Vector3(lookVector.x, 0, lookVector.z);
|
|
1471
1453
|
if (lookTarget == Vector3.zero) {
|
|
1472
1454
|
lookTarget = new Vector3(0, 0, .01f);
|
|
1473
1455
|
}
|
|
1474
|
-
|
|
1456
|
+
|
|
1475
1457
|
//Instantly rotate for owner
|
|
1476
1458
|
airshipTransform.rotation = Quaternion.LookRotation(lookTarget).normalized;
|
|
1477
1459
|
} else {
|
|
@@ -1499,6 +1481,7 @@ namespace Code.Player.Character.MovementSystems.Character {
|
|
|
1499
1481
|
#region Helpers
|
|
1500
1482
|
|
|
1501
1483
|
private void SnapToY(float newY) {
|
|
1484
|
+
//print("Snapping to Y: " + newY);
|
|
1502
1485
|
var newPos = rb.position;
|
|
1503
1486
|
newPos.y = newY;
|
|
1504
1487
|
rb.position = newPos;
|
|
@@ -1707,7 +1690,7 @@ namespace Code.Player.Character.MovementSystems.Character {
|
|
|
1707
1690
|
}
|
|
1708
1691
|
|
|
1709
1692
|
public void AddImpulse(Vector3 impulse) {
|
|
1710
|
-
//
|
|
1693
|
+
//print("Adding impulse: " + impulse);
|
|
1711
1694
|
if (mode == NetworkedStateSystemMode.Observer && isServer) {
|
|
1712
1695
|
RpcAddImpulse(impulse);
|
|
1713
1696
|
return;
|
|
@@ -323,11 +323,21 @@ namespace CsToTs.TypeScript {
|
|
|
323
323
|
var commentLines = GetFunctionComment(method);
|
|
324
324
|
string generics = "";
|
|
325
325
|
if (method.IsGenericMethod) {
|
|
326
|
-
var genericPrms = method.GetGenericArguments().Select(t =>
|
|
326
|
+
var genericPrms = method.GetGenericArguments().Select(t => {
|
|
327
|
+
var baseStr = GetTypeRef(t, context);
|
|
328
|
+
var constraints = t.GetGenericParameterConstraints().Where(c => c != typeof(ValueType)).ToArray();
|
|
329
|
+
if (constraints.Length > 0) {
|
|
330
|
+
baseStr = $"{baseStr} extends {string.Join(" & ", constraints.Select((constraintType) => GetTypeRef(constraintType, context)))}";
|
|
331
|
+
}
|
|
332
|
+
return baseStr;
|
|
333
|
+
});
|
|
327
334
|
generics = $"<{string.Join(", ", genericPrms)}>";
|
|
328
335
|
}
|
|
329
336
|
|
|
330
|
-
var
|
|
337
|
+
var paramInfos = method.GetParameters();
|
|
338
|
+
if (paramInfos.Any(p => p.IsOut)) continue; // Skip over any out variable methods
|
|
339
|
+
|
|
340
|
+
var parameters = paramInfos
|
|
331
341
|
.Select(p => new MemberDefinition(p.Name, GetTypeRef(p.ParameterType, context)));
|
|
332
342
|
|
|
333
343
|
var decorators = useDecorators(method);
|
|
@@ -596,6 +606,10 @@ namespace CsToTs.TypeScript {
|
|
|
596
606
|
return $"{typeName}<{string.Join(", ", genericPrms)}>";
|
|
597
607
|
}
|
|
598
608
|
|
|
609
|
+
// Clear off the ending "&" from type name. This exists for ref types (which we support)
|
|
610
|
+
// and for out types (which we exclude anyway, so this doesn't matter for those).
|
|
611
|
+
typeName = typeName.Replace("&", "");
|
|
612
|
+
|
|
599
613
|
return typeName;
|
|
600
614
|
}
|
|
601
615
|
|
|
@@ -47,6 +47,8 @@ using UnityEngine.VFX;
|
|
|
47
47
|
using Code.Player.Accessories;
|
|
48
48
|
using Code.Player.Character.MovementSystems.Character;
|
|
49
49
|
using Code.Player.Character.NetworkedMovement;
|
|
50
|
+
using Unity.Mathematics;
|
|
51
|
+
using UnityEngine.Splines;
|
|
50
52
|
|
|
51
53
|
public class TypeGenerator : MonoBehaviour
|
|
52
54
|
{
|
|
@@ -249,6 +251,15 @@ public class TypeGenerator : MonoBehaviour
|
|
|
249
251
|
typeof(Grid),
|
|
250
252
|
typeof(UIScrollRectEventBubbler),
|
|
251
253
|
typeof(VisualEffect),
|
|
254
|
+
|
|
255
|
+
// Splines
|
|
256
|
+
typeof(BezierCurve),
|
|
257
|
+
typeof(BezierKnot),
|
|
258
|
+
typeof(CurveUtility),
|
|
259
|
+
typeof(Spline),
|
|
260
|
+
typeof(SplineAnimate),
|
|
261
|
+
typeof(SplineUtility),
|
|
262
|
+
typeof(float3),
|
|
252
263
|
|
|
253
264
|
// Airship
|
|
254
265
|
typeof(AnimationEventData),
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gg.easy.airship",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2148",
|
|
4
4
|
"displayName": "Airship",
|
|
5
5
|
"unity": "2021.3",
|
|
6
6
|
"unityRelease": "12f1",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"com.unity.ugui": "3.0.0",
|
|
39
39
|
"com.unity.visualscripting": "1.9.5",
|
|
40
40
|
"com.unity.inputsystem": "1.13.0",
|
|
41
|
-
"com.unity.visualeffectgraph": "17.0.3"
|
|
41
|
+
"com.unity.visualeffectgraph": "17.0.3",
|
|
42
|
+
"com.unity.splines": "2.8.1"
|
|
42
43
|
},
|
|
43
44
|
"type": "library",
|
|
44
45
|
"description": "Easy Airship"
|