1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 01:06:02 +08:00

1.2.420にバージョンを更新

This commit is contained in:
yoshida190 2020-12-26 20:35:48 +09:00
parent aa029cf5a5
commit a9a176ff61
37 changed files with 519 additions and 80 deletions

View File

@ -299,7 +299,7 @@
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},System.Boolean)">
<summary>INTERNAL: do not use</summary>
</member>
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion,System.Boolean)">
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion,System.Boolean,System.Boolean)">
<summary>INTERNAL: do not use</summary>
</member>
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.ConvertToStartValue(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion)">
@ -1059,6 +1059,11 @@
Path control point
</summary>
</member>
<member name="F:DG.Tweening.Plugins.Core.PathCore.Path.wps">
<summary>
Path waypoints (modified by PathPlugin when setting relative end/change value or by CubicBezierDecoder) and by DOTweenPathInspector
</summary>
</member>
<member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)">
<summary>
Gets the point on the path at the given percentage (0 to 1)
@ -1269,6 +1274,9 @@
<member name="M:DG.Tweening.TweenExtensions.Delay(DG.Tweening.Tween)">
<summary>Returns the eventual delay set for this tween</summary>
</member>
<member name="M:DG.Tweening.TweenExtensions.ElapsedDelay(DG.Tweening.Tween)">
<summary>Returns the eventual elapsed delay set for this tween</summary>
</member>
<member name="M:DG.Tweening.TweenExtensions.Duration(DG.Tweening.Tween,System.Boolean)">
<summary>Returns the duration of this tween (delays excluded).
<para>NOTE: when using settings like SpeedBased, the duration will be recalculated when the tween starts</para></summary>
@ -1290,7 +1298,7 @@
based on a single loop, and calculating eventual backwards Yoyo loops as 1 to 0 instead of 0 to 1</summary>
</member>
<member name="M:DG.Tweening.TweenExtensions.IsActive(DG.Tweening.Tween)">
<summary>Returns FALSE if this tween has been killed.
<summary>Returns FALSE if this tween has been killed or is NULL, TRUE otherwise.
<para>BEWARE: if this tween is recyclable it might have been spawned again for another use and thus return TRUE anyway.</para>
When working with recyclable tweens you should take care to know when a tween has been killed and manually set your references to NULL.
If you want to be sure your references are set to NULL when a tween is killed you can use the <code>OnKill</code> callback like this:
@ -1797,7 +1805,7 @@
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
<param name="path">The waypoints to go through</param>
<param name="duration">The duration of the tween</param>
<param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
<param name="pathType">The type of path: Linear (straight path), CatmullRom (curved CatmullRom path) or CubicBezier (curved with control points)</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
<param name="resolution">The resolution of the path (useless in case of Linear paths): higher resolutions make for more detailed curved paths but are more expensive.
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
@ -1808,7 +1816,7 @@
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
<param name="path">The waypoint to go through</param>
<param name="duration">The duration of the tween</param>
<param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
<param name="pathType">The type of path: Linear (straight path), CatmullRom (curved CatmullRom path) or CubicBezier (curved with control points)</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
<param name="resolution">The resolution of the path: higher resolutions make for more detailed curved paths but are more expensive.
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
@ -2438,19 +2446,19 @@
then immediately sends the target to the previously set endValue.</summary>
<param name="isRelative">If TRUE the FROM value will be calculated as relative to the current one</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From``3(DG.Tweening.Core.TweenerCore{``0,``1,``2},``1,System.Boolean)">
<member name="M:DG.Tweening.TweenSettingsExtensions.From``3(DG.Tweening.Core.TweenerCore{``0,``1,``2},``1,System.Boolean,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromValue">Value to start from</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Single,System.Boolean)">
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Single,System.Boolean,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromAlphaValue">Alpha value to start from (in case of Fade tweens)</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Single,System.Boolean)">
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Single,System.Boolean,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromValue">Value to start from (in case of Vector tweens that act on a single coordinate or scale tweens)</param>
@ -2460,7 +2468,15 @@
<summary>Sets a delayed startup for the tween.<para/>
In case of Sequences behaves the same as <see cref="M:DG.Tweening.TweenSettingsExtensions.PrependInterval(DG.Tweening.Sequence,System.Single)"/>,
which means the delay will repeat in case of loops (while with tweens it's ignored after the first loop cycle).<para/>
Has no effect on Sequences or if the tween has already started</summary>
Has no effect if the tween has already started</summary>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetDelay``1(``0,System.Single,System.Boolean)">
<summary>EXPERIMENTAL: implemented in v1.2.340.<para/>
Sets a delayed startup for the tween with options to choose how the delay is applied in case of Sequences.<para/>
Has no effect if the tween has already started</summary>
<param name="asPrependedIntervalIfSequence">Only used by <see cref="T:DG.Tweening.Sequence"/> types: If FALSE sets the delay as a one-time occurrence
(defaults to this for <see cref="T:DG.Tweening.Tweener"/> types),
otherwise as a Sequence interval which will repeat at the beginning of every loop cycle</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetRelative``1(``0)">
<summary>Sets the tween as relative
@ -2567,6 +2583,13 @@
If left to NULL defaults to the regular forward side of the transform</param>
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLookAt(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,DG.Tweening.Plugins.Core.PathCore.Path,DG.Tweening.Plugins.Options.PathOptions},UnityEngine.Vector3,System.Boolean)">
<summary>Additional LookAt options for Path tweens (created via the <code>DOPath</code> shortcut).
Orients the target towards the given position with options to keep the Z rotation stable.
Must be chained directly to the tween creation method or to a <code>SetOptions</code></summary>
<param name="lookAtPosition">The position to look at</param>
<param name="stableZRotation">If TRUE doesn't rotate the target along the Z axis</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLookAt(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,DG.Tweening.Plugins.Core.PathCore.Path,DG.Tweening.Plugins.Options.PathOptions},UnityEngine.Transform,System.Nullable{UnityEngine.Vector3},System.Nullable{UnityEngine.Vector3})">
<summary>Additional LookAt options for Path tweens (created via the <code>DOPath</code> shortcut).
Orients the target towards another transform.
@ -2576,6 +2599,13 @@
If left to NULL defaults to the regular forward side of the transform</param>
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLookAt(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,DG.Tweening.Plugins.Core.PathCore.Path,DG.Tweening.Plugins.Options.PathOptions},UnityEngine.Transform,System.Boolean)">
<summary>Additional LookAt options for Path tweens (created via the <code>DOPath</code> shortcut).
Orients the target towards another transform with options to keep the Z rotation stable.
Must be chained directly to the tween creation method or to a <code>SetOptions</code></summary>
<param name="lookAtTransform">The transform to look at</param>
<param name="stableZRotation">If TRUE doesn't rotate the target along the Z axis</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLookAt(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,DG.Tweening.Plugins.Core.PathCore.Path,DG.Tweening.Plugins.Options.PathOptions},System.Single,System.Nullable{UnityEngine.Vector3},System.Nullable{UnityEngine.Vector3})">
<summary>Additional LookAt options for Path tweens (created via the <code>DOPath</code> shortcut).
Orients the target to the path, with the given lookAhead.
@ -2585,6 +2615,13 @@
If left to NULL defaults to the regular forward side of the transform</param>
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLookAt(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,DG.Tweening.Plugins.Core.PathCore.Path,DG.Tweening.Plugins.Options.PathOptions},System.Single,System.Boolean)">
<summary>Additional LookAt options for Path tweens (created via the <code>DOPath</code> shortcut).
Orients the path with options to keep the Z rotation stable.
Must be chained directly to the tween creation method or to a <code>SetOptions</code></summary>
<param name="lookAhead">The percentage of lookAhead to use (0 to 1)</param>
<param name="stableZRotation">If TRUE doesn't rotate the target along the Z axis</param>
</member>
<member name="T:DG.Tweening.LogBehaviour">
<summary>
Types of log behaviours
@ -2666,6 +2703,9 @@
<member name="P:DG.Tweening.Tween.fullPosition">
<summary>Gets and sets the time position (loops included, delays excluded) of the tween</summary>
</member>
<member name="P:DG.Tweening.Tween.hasLoops">
<summary>Returns TRUE if the tween is set to loop (either a set number of times or infinitely)</summary>
</member>
<member name="P:DG.Tweening.Tween.playedOnce">
<summary>TRUE after the tween was set in a play state at least once, AFTER any delay is elapsed</summary>
</member>

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9706d87093a72834b81979d9ef84d69c
guid: 6246f0bf2867e5c4cacfc3ce7a67d5cf
TextScriptImporter:
externalObjects: {}
userData:

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 801cd56092207a842a6fd1c920deb80f
guid: 8675e32b8ad50a74e83eee86c0f5503d
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a862d7fd8d3a16d409c07726e71b3273
guid: b79603e038c6c12439b661cc1bb71433
PluginImporter:
externalObjects: {}
serializedVersion: 2
@ -7,7 +7,7 @@ PluginImporter:
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 1
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2793c506f5acaff48a8a884349388c95
guid: b242fb4fa664a2546b8792f4932611ab
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -25,6 +25,15 @@
<param name="preventAutoKill">If TRUE prevents the tween from being auto-killed at completion</param>
<param name="andPlay">If TRUE starts playing the tween immediately</param>
</member>
<member name="F:DG.DOTweenEditor.EditorVersion.Version">
<summary>Full major version + first minor version (ex: 2018.1f)</summary>
</member>
<member name="F:DG.DOTweenEditor.EditorVersion.MajorVersion">
<summary>Major version</summary>
</member>
<member name="F:DG.DOTweenEditor.EditorVersion.MinorVersion">
<summary>First minor version (ex: in 2018.1 it would be 1)</summary>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
<summary>
Checks that the given editor texture use the correct import settings,

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 95432a771e3de484289ba6e0a1ab89af
guid: 5850708c48e6f0f41b6001c30b2116b9
TextScriptImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7e7a6c4dfe714bd4881373bac2d91709
guid: d2c9fa369d29bbe478866b833e9ece80
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 4009186c409107a4fa048694adfb3246
guid: e4d2c14df1e9d134eb88172d8a3e1a0a
PluginImporter:
externalObjects: {}
serializedVersion: 2
@ -7,7 +7,7 @@ PluginImporter:
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 1
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 69e25c9713c79254f816a37b87d31a1d
guid: e0baa0885fad4e24592b43fe409995ff
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -1,9 +1,9 @@
fileFormatVersion: 2
guid: 521d5a4078f3ac44aa99bf1c0a2b8bd6
guid: a1c8d93bd70fa4346b7cc37b9e32efc0
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -23,6 +23,7 @@ TextureImporter:
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -32,11 +33,11 @@ TextureImporter:
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
aniso: 2
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
@ -54,13 +55,65 @@ TextureImporter:
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Windows Store Apps
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

View File

@ -1,9 +1,9 @@
fileFormatVersion: 2
guid: 3efe32354a238924e9d9b5bd9b7c86c2
guid: 19c5fbf641b241b47bb435f136237b45
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -23,6 +23,7 @@ TextureImporter:
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -32,11 +33,11 @@ TextureImporter:
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
aniso: 2
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
@ -54,13 +55,65 @@ TextureImporter:
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Windows Store Apps
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

View File

@ -1,9 +1,9 @@
fileFormatVersion: 2
guid: 70c0f000d7d2ffe4d8494f19de61a951
guid: af6883624ea803d43997a9002764a3a3
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
@ -23,6 +23,7 @@ TextureImporter:
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -54,9 +55,13 @@ TextureImporter:
textureType: 2
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -70,6 +75,54 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Windows Store Apps
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []

View File

@ -1,9 +1,9 @@
fileFormatVersion: 2
guid: d15bcaee71194e74eb502d53384109a0
guid: 63373706de76d7f488a3332144af3fec
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
@ -23,6 +23,7 @@ TextureImporter:
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -54,9 +55,13 @@ TextureImporter:
textureType: 2
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -70,6 +75,54 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Windows Store Apps
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 211ccec0b713f344ba35c08cde0bd155
guid: ff75aa93ec75e4c46be1ad4d94e1d927
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -1,13 +1,3 @@
{
"name": "DOTween.Modules",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
"name": "DOTween.Modules"
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 82c85923ff27a7e44bde9832b26f22ce
guid: b85a9b696dea92b4f9d0efe8b3f0e5b7
AssemblyDefinitionImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ae8eae3227f95604783f31c421dcfdd0
guid: b51928c6780ec0045876e55f07760037
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -135,7 +135,7 @@ namespace DG.Tweening
/// If you plan to publish there you should use a regular transform.DOPath.</para></summary>
/// <param name="path">The waypoints to go through</param>
/// <param name="duration">The duration of the tween</param>
/// <param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
/// <param name="pathType">The type of path: Linear (straight path), CatmullRom (curved CatmullRom path) or CubicBezier (curved with control points)</param>
/// <param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
/// <param name="resolution">The resolution of the path (useless in case of Linear paths): higher resolutions make for more detailed curved paths but are more expensive.
/// Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
@ -160,7 +160,7 @@ namespace DG.Tweening
/// If you plan to publish there you should use a regular transform.DOLocalPath.</para></summary>
/// <param name="path">The waypoint to go through</param>
/// <param name="duration">The duration of the tween</param>
/// <param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
/// <param name="pathType">The type of path: Linear (straight path), CatmullRom (curved CatmullRom path) or CubicBezier (curved with control points)</param>
/// <param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
/// <param name="resolution">The resolution of the path: higher resolutions make for more detailed curved paths but are more expensive.
/// Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 4436d528ee51f7b42b48f0aee65b174d
guid: 9a7ab48ed4cb5da4bb047ded29094635
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -4,6 +4,8 @@
#if true && (UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_2017_1_OR_NEWER) // MODULE_MARKER
using System;
using DG.Tweening.Core;
using DG.Tweening.Plugins;
using DG.Tweening.Plugins.Core.PathCore;
using DG.Tweening.Plugins.Options;
using UnityEngine;
@ -97,6 +99,65 @@ namespace DG.Tweening
return s;
}
/// <summary>Tweens a Rigidbody2D's position through the given path waypoints, using the chosen path algorithm.
/// Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations.
/// <para>NOTE: to tween a Rigidbody2D correctly it should be set to kinematic at least while being tweened.</para>
/// <para>BEWARE: doesn't work on Windows Phone store (waiting for Unity to fix their own bug).
/// If you plan to publish there you should use a regular transform.DOPath.</para></summary>
/// <param name="path">The waypoints to go through</param>
/// <param name="duration">The duration of the tween</param>
/// <param name="pathType">The type of path: Linear (straight path), CatmullRom (curved CatmullRom path) or CubicBezier (curved with control points)</param>
/// <param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
/// <param name="resolution">The resolution of the path (useless in case of Linear paths): higher resolutions make for more detailed curved paths but are more expensive.
/// Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
/// <param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
public static TweenerCore<Vector3, Path, PathOptions> DOPath(
this Rigidbody2D target, Vector2[] path, float duration, PathType pathType = PathType.Linear,
PathMode pathMode = PathMode.Full3D, int resolution = 10, Color? gizmoColor = null
)
{
if (resolution < 1) resolution = 1;
int len = path.Length;
Vector3[] path3D = new Vector3[len];
for (int i = 0; i < len; ++i) path3D[i] = path[i];
TweenerCore<Vector3, Path, PathOptions> t = DOTween.To(PathPlugin.Get(), () => target.position, x => target.MovePosition(x), new Path(pathType, path3D, resolution, gizmoColor), duration)
.SetTarget(target).SetUpdate(UpdateType.Fixed);
t.plugOptions.isRigidbody = true;
t.plugOptions.mode = pathMode;
return t;
}
/// <summary>Tweens a Rigidbody2D's localPosition through the given path waypoints, using the chosen path algorithm.
/// Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations
/// <para>NOTE: to tween a Rigidbody2D correctly it should be set to kinematic at least while being tweened.</para>
/// <para>BEWARE: doesn't work on Windows Phone store (waiting for Unity to fix their own bug).
/// If you plan to publish there you should use a regular transform.DOLocalPath.</para></summary>
/// <param name="path">The waypoint to go through</param>
/// <param name="duration">The duration of the tween</param>
/// <param name="pathType">The type of path: Linear (straight path), CatmullRom (curved CatmullRom path) or CubicBezier (curved with control points)</param>
/// <param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
/// <param name="resolution">The resolution of the path: higher resolutions make for more detailed curved paths but are more expensive.
/// Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
/// <param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
public static TweenerCore<Vector3, Path, PathOptions> DOLocalPath(
this Rigidbody2D target, Vector2[] path, float duration, PathType pathType = PathType.Linear,
PathMode pathMode = PathMode.Full3D, int resolution = 10, Color? gizmoColor = null
)
{
if (resolution < 1) resolution = 1;
int len = path.Length;
Vector3[] path3D = new Vector3[len];
for (int i = 0; i < len; ++i) path3D[i] = path[i];
Transform trans = target.transform;
TweenerCore<Vector3, Path, PathOptions> t = DOTween.To(PathPlugin.Get(), () => trans.localPosition, x => target.MovePosition(trans.parent == null ? x : trans.parent.TransformPoint(x)), new Path(pathType, path3D, resolution, gizmoColor), duration)
.SetTarget(target).SetUpdate(UpdateType.Fixed);
t.plugOptions.isRigidbody = true;
t.plugOptions.mode = pathMode;
t.plugOptions.useLocalPosition = true;
return t;
}
#endregion
#endregion

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 78242e11d02eb3746a727de561e94da4
guid: f0d8dd9e4f14b894198bbc8bbd9ae82d
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5bfe113fe7660c5439bd34c598a6b70d
guid: fa3b4aeddfc4f244f865ca6873cdbfcb
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -2,7 +2,9 @@
// Created: 2018/07/13
#if true && (UNITY_4_6 || UNITY_5 || UNITY_2017_1_OR_NEWER) // MODULE_MARKER
using System;
using System.Globalization;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening.Core;
@ -481,6 +483,29 @@ namespace DG.Tweening
return t;
}
/// <summary>
/// Tweens a Text's text from one integer to another, with options for thousands separators
/// </summary>
/// <param name="fromValue">The value to start from</param>
/// <param name="endValue">The end value to reach</param>
/// <param name="duration">The duration of the tween</param>
/// <param name="addThousandsSeparator">If TRUE (default) also adds thousands separators</param>
/// <param name="culture">The <see cref="CultureInfo"/> to use (InvariantCulture if NULL)</param>
public static TweenerCore<int, int, NoOptions> DOCounter(
this Text target, int fromValue, int endValue, float duration, bool addThousandsSeparator = true, CultureInfo culture = null
){
int v = fromValue;
CultureInfo cInfo = !addThousandsSeparator ? null : culture ?? CultureInfo.InvariantCulture;
TweenerCore<int, int, NoOptions> t = DOTween.To(() => v, x => {
v = x;
target.text = addThousandsSeparator
? v.ToString("N0", cInfo)
: v.ToString();
}, endValue, duration);
t.SetTarget(target);
return t;
}
/// <summary>Tweens a Text's alpha color to the given value.
/// Also stores the Text as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 1419736ebf1c90744b2d271eac4aeb06
guid: 3211c98c35c2e7f4cb7bf19b3d8a44b6
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -5,6 +5,9 @@ using System;
using UnityEngine;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
#if UNITY_2018_1_OR_NEWER && (NET_4_6 || NET_STANDARD_2_0)
using System.Threading.Tasks;
#endif
#pragma warning disable 1591
namespace DG.Tweening
@ -137,7 +140,8 @@ namespace DG.Tweening
}
/// <summary>
/// Returns a <see cref="CustomYieldInstruction"/> that waits until the tween is killed or has reached the given position (loops included, delays excluded).
/// Returns a <see cref="CustomYieldInstruction"/> that waits until the tween is killed
/// or has reached the given time position (loops included, delays excluded).
/// It can be used inside a coroutine as a yield.
/// <para>Example usage:</para><code>yield return myTween.WaitForPosition(2.5f);</code>
/// </summary>
@ -210,6 +214,104 @@ namespace DG.Tweening
#endregion
#region .NET 4.6 or Newer
#if (NET_4_6 || NET_STANDARD_2_0)
#region Async Instructions
/// <summary>
/// Returns an async <see cref="Task"/> that waits until the tween is killed or complete.
/// It can be used inside an async operation.
/// <para>Example usage:</para><code>await myTween.WaitForCompletion();</code>
/// </summary>
public static async Task AsyncWaitForCompletion(this Tween t)
{
if (!t.active) {
if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t);
return;
}
while (t.active && !t.IsComplete()) await Task.Yield();
}
/// <summary>
/// Returns an async <see cref="Task"/> that waits until the tween is killed or rewinded.
/// It can be used inside an async operation.
/// <para>Example usage:</para><code>await myTween.AsyncWaitForRewind();</code>
/// </summary>
public static async Task AsyncWaitForRewind(this Tween t)
{
if (!t.active) {
if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t);
return;
}
while (t.active && (!t.playedOnce || t.position * (t.CompletedLoops() + 1) > 0)) await Task.Yield();
}
/// <summary>
/// Returns an async <see cref="Task"/> that waits until the tween is killed.
/// It can be used inside an async operation.
/// <para>Example usage:</para><code>await myTween.AsyncWaitForKill();</code>
/// </summary>
public static async Task AsyncWaitForKill(this Tween t)
{
if (!t.active) {
if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t);
return;
}
while (t.active) await Task.Yield();
}
/// <summary>
/// Returns an async <see cref="Task"/> that waits until the tween is killed or has gone through the given amount of loops.
/// It can be used inside an async operation.
/// <para>Example usage:</para><code>await myTween.AsyncWaitForElapsedLoops();</code>
/// </summary>
/// <param name="elapsedLoops">Elapsed loops to wait for</param>
public static async Task AsyncWaitForElapsedLoops(this Tween t, int elapsedLoops)
{
if (!t.active) {
if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t);
return;
}
while (t.active && t.CompletedLoops() < elapsedLoops) await Task.Yield();
}
/// <summary>
/// Returns an async <see cref="Task"/> that waits until the tween is killed or started
/// (meaning when the tween is set in a playing state the first time, after any eventual delay).
/// It can be used inside an async operation.
/// <para>Example usage:</para><code>await myTween.AsyncWaitForPosition();</code>
/// </summary>
/// <param name="position">Position (loops included, delays excluded) to wait for</param>
public static async Task AsyncWaitForPosition(this Tween t, float position)
{
if (!t.active) {
if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t);
return;
}
while (t.active && t.position * (t.CompletedLoops() + 1) < position) await Task.Yield();
}
/// <summary>
/// Returns an async <see cref="Task"/> that waits until the tween is killed.
/// It can be used inside an async operation.
/// <para>Example usage:</para><code>await myTween.AsyncWaitForKill();</code>
/// </summary>
public static async Task AsyncWaitForStart(this Tween t)
{
if (!t.active) {
if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t);
return;
}
while (t.active && !t.playedOnce) await Task.Yield();
}
#endregion
#endif
#endregion
#endregion
#endif
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e5d79f15da5960f418b61e0f5d230368
guid: 167f051cc042292498861556b3325ff1
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 62d7b3dba1c80dc4ba1fdcbd969755f2
guid: 50e00c871ae334b48a8fc7c23bd48dd1
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7b53c3e21f3b17f4fb9841f864bf2d54
guid: c4677c9bc78c3284b86896427be2b896
TextScriptImporter:
externalObjects: {}
userData:

View File

@ -9,7 +9,7 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 16995157, guid: a862d7fd8d3a16d409c07726e71b3273, type: 3}
m_Script: {fileID: 16995157, guid: b79603e038c6c12439b661cc1bb71433, type: 3}
m_Name: DOTweenSettings
m_EditorClassIdentifier:
useSafeMode: 1
@ -44,5 +44,7 @@ MonoBehaviour:
uiEnabled: 1
textMeshProEnabled: 0
tk2DEnabled: 0
deAudioEnabled: 0
deUnityExtendedEnabled: 0
showPlayingTweens: 0
showPausedTweens: 0

View File

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: 39f9342957e3b60498985e591992c9c6
guid: 0d227f32bf2e8d340ab6d30aba7eba0b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,9 +1,8 @@
{
"name": "com.demigiant.dotween",
"displayName": "DOTween",
"description": "A Unity C# animation/tween engine. HOTween v2.",
"version": "1.2.32",
"author": "Daniele Giardini",
"dependencies": {}
}
"name": "com.demigiant.dotween",
"displayName": "DOTween",
"description": "A Unity C# animation/tween engine. HOTween v2.",
"version": "1.2.42",
"author": "Daniele Giardini",
"type": "library"
}

View File

@ -1,9 +1,8 @@
{
"name": "com.demigiant.dotween",
"displayName": "DOTween",
"description": "A Unity C# animation/tween engine. HOTween v2.",
"version": "1.2.32",
"author": "Daniele Giardini",
"dependencies": {}
}
"name": "com.demigiant.dotween",
"displayName": "DOTween",
"description": "A Unity C# animation/tween engine. HOTween v2.",
"version": "1.2.42",
"author": "Daniele Giardini",
"type": "library"
}