com.kyrylokuzyk.primetween 1.3.7 → 1.4.0
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/.attestation.p7m +0 -0
- package/Documentation/material_prop_block.png +0 -0
- package/Documentation/material_prop_block.png.meta +130 -0
- package/Documentation/tween_animation_component.png +0 -0
- package/Documentation/tween_animation_component.png.meta +3 -0
- package/Documentation/tween_animation_inspector.png +0 -0
- package/Documentation/tween_animation_inspector.png.meta +3 -0
- package/Editor/CodeGenerator.asset +177 -0
- package/Editor/CodeGenerator.cs +216 -239
- package/Editor/CodeTemplates.cs +38 -44
- package/Editor/Icons/d_state.png +0 -0
- package/Editor/Icons/d_state.png.meta +130 -0
- package/Editor/Icons/state.png +0 -0
- package/Editor/Icons/state.png.meta +130 -0
- package/Editor/Icons.meta +8 -0
- package/Editor/PrimeTween.Editor.asmdef +1 -1
- package/Editor/ShakeSettingsPropDrawer.cs +24 -24
- package/Editor/Tests/EditModeTests.cs +1 -0
- package/Editor/Tests/PrimeTween.Tests.Editor.asmdef +1 -1
- package/Editor/TweenSettingsPropDrawer.cs +40 -42
- package/Editor/ValueContainerStartEndPropDrawer.cs +183 -63
- package/Runtime/Internal/Constants.cs +10 -2
- package/Runtime/Internal/CoroutinesSupport.cs +45 -41
- package/Runtime/Internal/DOTweenAdapter/DOTweenAdapterGenerated.cs +2 -69
- package/Runtime/Internal/Extensions.cs +39 -0
- package/Runtime/Internal/ITween.cs +2 -2
- package/Runtime/Internal/Obsolete.cs +15 -44
- package/Runtime/Internal/PrimeTweenManager.cs +117 -20
- package/Runtime/Internal/TweenData.cs +52 -47
- package/Runtime/Internal/TweenGenerated.cs +899 -1380
- package/Runtime/Internal/TweenMethods.cs +65 -81
- package/Runtime/Internal/UnmanagedTweenData.cs +4 -4
- package/Runtime/Internal/Utils.cs +316 -200
- package/Runtime/Internal/ValueWrapper.cs +88 -97
- package/Runtime/PrimeTween.Runtime.asmdef +1 -1
- package/Runtime/PrimeTweenConfig.cs +17 -8
- package/Runtime/Sequence.cs +21 -14
- package/Runtime/Shake.cs +3 -3
- package/Runtime/ShakeSettings.cs +1 -1
- package/Runtime/Tween.cs +20 -7
- package/Runtime/TweenSettings.cs +7 -1
- package/Tests/PrimeTween.Tests.asmdef +1 -1
- package/Tests/Pro.cs +174 -142
- package/Tests/Tweens.cs +48 -5
- package/Tests/YieldInstructionsClash_.cs +2 -3
- package/changelog.md +20 -0
- package/license.md +3 -2
- package/package.json +2 -2
- package/readme.md +87 -20
package/.attestation.p7m
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 07eb16170b8675a4692a02dbb545b790
|
|
3
|
+
TextureImporter:
|
|
4
|
+
internalIDToNameTable: []
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 13
|
|
7
|
+
mipmaps:
|
|
8
|
+
mipMapMode: 0
|
|
9
|
+
enableMipMap: 1
|
|
10
|
+
sRGBTexture: 1
|
|
11
|
+
linearTexture: 0
|
|
12
|
+
fadeOut: 0
|
|
13
|
+
borderMipMap: 0
|
|
14
|
+
mipMapsPreserveCoverage: 0
|
|
15
|
+
alphaTestReferenceValue: 0.5
|
|
16
|
+
mipMapFadeDistanceStart: 1
|
|
17
|
+
mipMapFadeDistanceEnd: 3
|
|
18
|
+
bumpmap:
|
|
19
|
+
convertToNormalMap: 0
|
|
20
|
+
externalNormalMap: 0
|
|
21
|
+
heightScale: 0.25
|
|
22
|
+
normalMapFilter: 0
|
|
23
|
+
flipGreenChannel: 0
|
|
24
|
+
isReadable: 0
|
|
25
|
+
streamingMipmaps: 0
|
|
26
|
+
streamingMipmapsPriority: 0
|
|
27
|
+
vTOnly: 0
|
|
28
|
+
ignoreMipmapLimit: 0
|
|
29
|
+
grayScaleToAlpha: 0
|
|
30
|
+
generateCubemap: 6
|
|
31
|
+
cubemapConvolution: 0
|
|
32
|
+
seamlessCubemap: 0
|
|
33
|
+
textureFormat: 1
|
|
34
|
+
maxTextureSize: 2048
|
|
35
|
+
textureSettings:
|
|
36
|
+
serializedVersion: 2
|
|
37
|
+
filterMode: 1
|
|
38
|
+
aniso: 1
|
|
39
|
+
mipBias: 0
|
|
40
|
+
wrapU: 0
|
|
41
|
+
wrapV: 0
|
|
42
|
+
wrapW: 0
|
|
43
|
+
nPOTScale: 1
|
|
44
|
+
lightmap: 0
|
|
45
|
+
compressionQuality: 50
|
|
46
|
+
spriteMode: 0
|
|
47
|
+
spriteExtrude: 1
|
|
48
|
+
spriteMeshType: 1
|
|
49
|
+
alignment: 0
|
|
50
|
+
spritePivot: {x: 0.5, y: 0.5}
|
|
51
|
+
spritePixelsToUnits: 100
|
|
52
|
+
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
53
|
+
spriteGenerateFallbackPhysicsShape: 1
|
|
54
|
+
alphaUsage: 1
|
|
55
|
+
alphaIsTransparency: 0
|
|
56
|
+
spriteTessellationDetail: -1
|
|
57
|
+
textureType: 0
|
|
58
|
+
textureShape: 1
|
|
59
|
+
singleChannelComponent: 0
|
|
60
|
+
flipbookRows: 1
|
|
61
|
+
flipbookColumns: 1
|
|
62
|
+
maxTextureSizeSet: 0
|
|
63
|
+
compressionQualitySet: 0
|
|
64
|
+
textureFormatSet: 0
|
|
65
|
+
ignorePngGamma: 0
|
|
66
|
+
applyGammaDecoding: 0
|
|
67
|
+
swizzle: 50462976
|
|
68
|
+
cookieLightType: 0
|
|
69
|
+
platformSettings:
|
|
70
|
+
- serializedVersion: 4
|
|
71
|
+
buildTarget: DefaultTexturePlatform
|
|
72
|
+
maxTextureSize: 2048
|
|
73
|
+
resizeAlgorithm: 0
|
|
74
|
+
textureFormat: -1
|
|
75
|
+
textureCompression: 1
|
|
76
|
+
compressionQuality: 50
|
|
77
|
+
crunchedCompression: 0
|
|
78
|
+
allowsAlphaSplitting: 0
|
|
79
|
+
overridden: 0
|
|
80
|
+
ignorePlatformSupport: 0
|
|
81
|
+
androidETC2FallbackOverride: 0
|
|
82
|
+
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
83
|
+
- serializedVersion: 4
|
|
84
|
+
buildTarget: Standalone
|
|
85
|
+
maxTextureSize: 2048
|
|
86
|
+
resizeAlgorithm: 0
|
|
87
|
+
textureFormat: -1
|
|
88
|
+
textureCompression: 1
|
|
89
|
+
compressionQuality: 50
|
|
90
|
+
crunchedCompression: 0
|
|
91
|
+
allowsAlphaSplitting: 0
|
|
92
|
+
overridden: 0
|
|
93
|
+
ignorePlatformSupport: 0
|
|
94
|
+
androidETC2FallbackOverride: 0
|
|
95
|
+
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
96
|
+
- serializedVersion: 4
|
|
97
|
+
buildTarget: Android
|
|
98
|
+
maxTextureSize: 2048
|
|
99
|
+
resizeAlgorithm: 0
|
|
100
|
+
textureFormat: -1
|
|
101
|
+
textureCompression: 1
|
|
102
|
+
compressionQuality: 50
|
|
103
|
+
crunchedCompression: 0
|
|
104
|
+
allowsAlphaSplitting: 0
|
|
105
|
+
overridden: 0
|
|
106
|
+
ignorePlatformSupport: 0
|
|
107
|
+
androidETC2FallbackOverride: 0
|
|
108
|
+
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
109
|
+
spriteSheet:
|
|
110
|
+
serializedVersion: 2
|
|
111
|
+
sprites: []
|
|
112
|
+
outline: []
|
|
113
|
+
customData:
|
|
114
|
+
physicsShape: []
|
|
115
|
+
bones: []
|
|
116
|
+
spriteID:
|
|
117
|
+
internalID: 0
|
|
118
|
+
vertices: []
|
|
119
|
+
indices:
|
|
120
|
+
edges: []
|
|
121
|
+
weights: []
|
|
122
|
+
secondaryTextures: []
|
|
123
|
+
spriteCustomMetadata:
|
|
124
|
+
entries: []
|
|
125
|
+
nameFileIdTable: {}
|
|
126
|
+
mipmapLimitGroupName:
|
|
127
|
+
pSDRemoveMatte: 0
|
|
128
|
+
userData:
|
|
129
|
+
assetBundleName:
|
|
130
|
+
assetBundleVariant:
|
|
Binary file
|
|
Binary file
|
|
@@ -1130,3 +1130,180 @@ MonoBehaviour:
|
|
|
1130
1130
|
propType: 6
|
|
1131
1131
|
propName: localRotation
|
|
1132
1132
|
speedParamName: averageAngularSpeed
|
|
1133
|
+
manualTweenTypesSerialized1:
|
|
1134
|
+
- tweenType: Delay
|
|
1135
|
+
propType: 1
|
|
1136
|
+
targetType:
|
|
1137
|
+
tooltipConstant:
|
|
1138
|
+
dependency: 0
|
|
1139
|
+
- tweenType: Callback
|
|
1140
|
+
propType: 1
|
|
1141
|
+
targetType:
|
|
1142
|
+
tooltipConstant:
|
|
1143
|
+
dependency: 0
|
|
1144
|
+
- tweenType: ShakeLocalPosition
|
|
1145
|
+
propType: 4
|
|
1146
|
+
targetType: UnityEngine.Transform
|
|
1147
|
+
tooltipConstant:
|
|
1148
|
+
dependency: 0
|
|
1149
|
+
- tweenType: ShakeLocalRotation
|
|
1150
|
+
propType: 6
|
|
1151
|
+
targetType: UnityEngine.Transform
|
|
1152
|
+
tooltipConstant:
|
|
1153
|
+
dependency: 0
|
|
1154
|
+
- tweenType: ShakeScale
|
|
1155
|
+
propType: 4
|
|
1156
|
+
targetType: UnityEngine.Transform
|
|
1157
|
+
tooltipConstant:
|
|
1158
|
+
dependency: 0
|
|
1159
|
+
- tweenType: ShakeCustom
|
|
1160
|
+
propType: 4
|
|
1161
|
+
targetType:
|
|
1162
|
+
tooltipConstant:
|
|
1163
|
+
dependency: 0
|
|
1164
|
+
- tweenType: ShakeCamera
|
|
1165
|
+
propType: 1
|
|
1166
|
+
targetType: UnityEngine.Camera
|
|
1167
|
+
tooltipConstant:
|
|
1168
|
+
dependency: 0
|
|
1169
|
+
- tweenType: CustomFloat
|
|
1170
|
+
propType: 1
|
|
1171
|
+
targetType:
|
|
1172
|
+
tooltipConstant:
|
|
1173
|
+
dependency: 0
|
|
1174
|
+
- tweenType: CustomColor
|
|
1175
|
+
propType: 2
|
|
1176
|
+
targetType:
|
|
1177
|
+
tooltipConstant:
|
|
1178
|
+
dependency: 0
|
|
1179
|
+
- tweenType: CustomVector2
|
|
1180
|
+
propType: 3
|
|
1181
|
+
targetType:
|
|
1182
|
+
tooltipConstant:
|
|
1183
|
+
dependency: 0
|
|
1184
|
+
- tweenType: CustomVector3
|
|
1185
|
+
propType: 4
|
|
1186
|
+
targetType:
|
|
1187
|
+
tooltipConstant:
|
|
1188
|
+
dependency: 0
|
|
1189
|
+
- tweenType: CustomVector4
|
|
1190
|
+
propType: 5
|
|
1191
|
+
targetType:
|
|
1192
|
+
tooltipConstant:
|
|
1193
|
+
dependency: 0
|
|
1194
|
+
- tweenType: CustomQuaternion
|
|
1195
|
+
propType: 6
|
|
1196
|
+
targetType:
|
|
1197
|
+
tooltipConstant:
|
|
1198
|
+
dependency: 0
|
|
1199
|
+
- tweenType: CustomRect
|
|
1200
|
+
propType: 7
|
|
1201
|
+
targetType:
|
|
1202
|
+
tooltipConstant:
|
|
1203
|
+
dependency: 0
|
|
1204
|
+
- tweenType: CustomDouble
|
|
1205
|
+
propType: 9
|
|
1206
|
+
targetType:
|
|
1207
|
+
tooltipConstant:
|
|
1208
|
+
dependency: 8
|
|
1209
|
+
- tweenType: MaterialColorProperty
|
|
1210
|
+
propType: 2
|
|
1211
|
+
targetType: UnityEngine.Material
|
|
1212
|
+
tooltipConstant:
|
|
1213
|
+
dependency: 0
|
|
1214
|
+
- tweenType: MaterialProperty
|
|
1215
|
+
propType: 1
|
|
1216
|
+
targetType: UnityEngine.Material
|
|
1217
|
+
tooltipConstant:
|
|
1218
|
+
dependency: 0
|
|
1219
|
+
- tweenType: MaterialAlphaProperty
|
|
1220
|
+
propType: 1
|
|
1221
|
+
targetType: UnityEngine.Material
|
|
1222
|
+
tooltipConstant:
|
|
1223
|
+
dependency: 0
|
|
1224
|
+
- tweenType: MaterialTextureOffset
|
|
1225
|
+
propType: 3
|
|
1226
|
+
targetType: UnityEngine.Material
|
|
1227
|
+
tooltipConstant:
|
|
1228
|
+
dependency: 0
|
|
1229
|
+
- tweenType: MaterialTextureScale
|
|
1230
|
+
propType: 3
|
|
1231
|
+
targetType: UnityEngine.Material
|
|
1232
|
+
tooltipConstant:
|
|
1233
|
+
dependency: 0
|
|
1234
|
+
- tweenType: MaterialPropertyVector4
|
|
1235
|
+
propType: 5
|
|
1236
|
+
targetType: UnityEngine.Material
|
|
1237
|
+
tooltipConstant:
|
|
1238
|
+
dependency: 0
|
|
1239
|
+
- tweenType: EulerAngles
|
|
1240
|
+
propType: 4
|
|
1241
|
+
targetType: UnityEngine.Transform
|
|
1242
|
+
tooltipConstant:
|
|
1243
|
+
dependency: 0
|
|
1244
|
+
- tweenType: LocalEulerAngles
|
|
1245
|
+
propType: 4
|
|
1246
|
+
targetType: UnityEngine.Transform
|
|
1247
|
+
tooltipConstant:
|
|
1248
|
+
dependency: 0
|
|
1249
|
+
- tweenType: GlobalTimeScale
|
|
1250
|
+
propType: 1
|
|
1251
|
+
targetType:
|
|
1252
|
+
tooltipConstant:
|
|
1253
|
+
dependency: 0
|
|
1254
|
+
- tweenType: MainSequence
|
|
1255
|
+
propType: 1
|
|
1256
|
+
targetType:
|
|
1257
|
+
tooltipConstant:
|
|
1258
|
+
dependency: 0
|
|
1259
|
+
- tweenType: NestedSequence
|
|
1260
|
+
propType: 1
|
|
1261
|
+
targetType:
|
|
1262
|
+
tooltipConstant:
|
|
1263
|
+
dependency: 0
|
|
1264
|
+
- tweenType: TweenAwaiter
|
|
1265
|
+
propType: 1
|
|
1266
|
+
targetType:
|
|
1267
|
+
tooltipConstant:
|
|
1268
|
+
dependency: 0
|
|
1269
|
+
- tweenType: TweenAnimationComponent
|
|
1270
|
+
propType: 0
|
|
1271
|
+
targetType: PrimeTween.TweenAnimationComponent
|
|
1272
|
+
tooltipConstant:
|
|
1273
|
+
dependency: 11
|
|
1274
|
+
manualTweenTypesSerialized2:
|
|
1275
|
+
- tweenType: MaterialPropertyBlockColorProperty
|
|
1276
|
+
propType: 2
|
|
1277
|
+
targetType: UnityEngine.Renderer
|
|
1278
|
+
tooltipConstant: materialPropBlockTooltip
|
|
1279
|
+
dependency: 6144
|
|
1280
|
+
- tweenType: MaterialPropertyBlockAlphaProperty
|
|
1281
|
+
propType: 1
|
|
1282
|
+
targetType: UnityEngine.Renderer
|
|
1283
|
+
tooltipConstant: materialPropBlockTooltip
|
|
1284
|
+
dependency: 6144
|
|
1285
|
+
- tweenType: MaterialPropertyBlockProperty
|
|
1286
|
+
propType: 1
|
|
1287
|
+
targetType: UnityEngine.Renderer
|
|
1288
|
+
tooltipConstant: materialPropBlockTooltip
|
|
1289
|
+
dependency: 6144
|
|
1290
|
+
- tweenType: MaterialPropertyBlockPropertyVector4
|
|
1291
|
+
propType: 5
|
|
1292
|
+
targetType: UnityEngine.Renderer
|
|
1293
|
+
tooltipConstant: materialPropBlockTooltip
|
|
1294
|
+
dependency: 6144
|
|
1295
|
+
- tweenType: MaterialPropertyBlockTextureScale
|
|
1296
|
+
propType: 3
|
|
1297
|
+
targetType: UnityEngine.Renderer
|
|
1298
|
+
tooltipConstant: materialPropBlockTooltip
|
|
1299
|
+
dependency: 6144
|
|
1300
|
+
- tweenType: MaterialPropertyBlockTextureOffset
|
|
1301
|
+
propType: 3
|
|
1302
|
+
targetType: UnityEngine.Renderer
|
|
1303
|
+
tooltipConstant: materialPropBlockTooltip
|
|
1304
|
+
dependency: 6144
|
|
1305
|
+
- tweenType: TextMaxVisibleCharactersNormalized
|
|
1306
|
+
propType: 1
|
|
1307
|
+
targetType: TMPro.TMP_Text
|
|
1308
|
+
tooltipConstant:
|
|
1309
|
+
dependency: 1024
|