├── .gitignore ├── CHANGELOG.md ├── CHANGELOG.md.meta ├── CreateChangeLog.bat ├── CreateChangeLog.bat.meta ├── Documentation.meta ├── Documentation ├── assets.meta ├── assets │ ├── css.meta │ ├── css │ │ ├── main.css │ │ └── main.css.meta │ ├── favicon.ico │ ├── favicon.ico.meta │ ├── index.html │ └── index.html.meta ├── classes.meta ├── classes │ ├── LTBezierPath.html │ ├── LTBezierPath.html.meta │ ├── LTDescr.html │ ├── LTDescr.html.meta │ ├── LTEvent.html │ ├── LTEvent.html.meta │ ├── LTRect.html │ ├── LTRect.html.meta │ ├── LTSeq.html │ ├── LTSeq.html.meta │ ├── LTSpline.html │ ├── LTSpline.html.meta │ ├── LeanAudio.html │ ├── LeanAudio.html.meta │ ├── LeanAudioOptions.html │ ├── LeanAudioOptions.html.meta │ ├── LeanSmooth.html │ ├── LeanSmooth.html.meta │ ├── LeanTween.html │ ├── LeanTween.html.meta │ ├── LeanTweenType.html │ ├── LeanTweenType.html.meta │ ├── index.html │ └── index.html.meta ├── elements.meta ├── elements │ ├── index.html │ └── index.html.meta ├── index.html └── index.html.meta ├── Editor.meta ├── Editor ├── LeanTweenDocumentationEditor.cs ├── LeanTweenDocumentationEditor.cs.meta ├── LeanTweenEditorUtils.cs ├── LeanTweenEditorUtils.cs.meta ├── com.leantween.editor.asmdef └── com.leantween.editor.asmdef.meta ├── Framework.meta ├── Framework ├── LTDescr.cs ├── LTDescr.cs.meta ├── LTDescrOptional.cs ├── LTDescrOptional.cs.meta ├── LTSeq.cs ├── LTSeq.cs.meta ├── LeanAudio.cs ├── LeanAudio.cs.meta ├── LeanSmooth.cs ├── LeanSmooth.cs.meta ├── LeanTest.cs ├── LeanTest.cs.meta ├── LeanTween.cs ├── LeanTween.cs.meta ├── LeanTween.dll.zip ├── LeanTween.dll.zip.meta ├── LeanTweenExt.cs ├── LeanTweenExt.cs.meta ├── com.leantween.asmdef └── com.leantween.asmdef.meta ├── LICENSE.md ├── LICENSE.md.meta ├── README.md ├── README.md.meta ├── ReadMe.txt ├── ReadMe.txt.meta ├── Samples~ ├── Examples.meta ├── Examples │ ├── Archived.meta │ ├── Archived │ │ ├── 2dUnlitWithFade.shader │ │ ├── 2dUnlitWithFade.shader.meta │ │ ├── GrumpyCat.jpeg │ │ ├── GrumpyCat.jpeg.meta │ │ ├── OldGUIExamplesCS.cs │ │ ├── OldGUIExamplesCS.cs.meta │ │ ├── OldGUIExamplesCS.unity │ │ ├── OldGUIExamplesCS.unity.meta │ │ ├── SoBeautiful.gif │ │ ├── SoBeautiful.gif.meta │ │ ├── TestingPunch.cs │ │ ├── TestingPunch.cs.meta │ │ ├── TestingPunch.unity │ │ ├── TestingPunch.unity.meta │ │ ├── TestingRigidbodyCS.cs │ │ ├── TestingRigidbodyCS.cs.meta │ │ ├── TestingRigidbodyCS.unity │ │ └── TestingRigidbodyCS.unity.meta │ ├── Material.meta │ ├── Material │ │ ├── AlphBumps.mat │ │ ├── AlphBumps.mat.meta │ │ ├── AlphaReadyMaterial.mat │ │ ├── AlphaReadyMaterial.mat.meta │ │ ├── DirectionalArrowMaterial.mat │ │ ├── DirectionalArrowMaterial.mat.meta │ │ ├── FrictionLess.physicMaterial │ │ ├── FrictionLess.physicMaterial.meta │ │ ├── Futoro_PersonSprites.jpg │ │ ├── Futoro_PersonSprites.jpg.meta │ │ ├── Futoro_PlanetMaterial.mat │ │ ├── Futoro_PlanetMaterial.mat.meta │ │ ├── Futoro_Ring.psd │ │ ├── Futoro_Ring.psd.meta │ │ ├── Futoro_SineWave.mat │ │ ├── Futoro_SineWave.mat.meta │ │ ├── Futuro_Bar.psd │ │ ├── Futuro_Bar.psd.meta │ │ ├── Futuro_ButtonBack.psd │ │ ├── Futuro_ButtonBack.psd.meta │ │ ├── Futuro_ButtonBackDark.psd │ │ ├── Futuro_ButtonBackDark.psd.meta │ │ ├── Futuro_SineWave.psd │ │ ├── Futuro_SineWave.psd.meta │ │ ├── Futuro_WindowBack.psd │ │ ├── Futuro_WindowBack.psd.meta │ │ ├── Graph.mat │ │ ├── Graph.mat.meta │ │ ├── GridLines.mat │ │ ├── GridLines.mat.meta │ │ ├── Ground.mat │ │ ├── Ground.mat.meta │ │ ├── LineGlowMaterial.mat │ │ ├── LineGlowMaterial.mat.meta │ │ ├── Mock2d.mat │ │ ├── Mock2d.mat.meta │ │ ├── ParticleGlow.mat │ │ ├── ParticleGlow.mat.meta │ │ ├── PointMark.mat │ │ ├── PointMark.mat.meta │ │ ├── SpaceLineGlowMaterial.mat │ │ ├── SpaceLineGlowMaterial.mat.meta │ │ ├── TrackCar.mat │ │ ├── TrackCar.mat.meta │ │ ├── TrackFollowMaterial.mat │ │ ├── TrackFollowMaterial.mat.meta │ │ ├── TrackGlowMaterial.mat │ │ ├── TrackGlowMaterial.mat.meta │ │ ├── TrackLines.mat │ │ ├── TrackLines.mat.meta │ │ ├── TrailFollowMaterial.mat │ │ ├── TrailFollowMaterial.mat.meta │ │ ├── WalkingStick.mat │ │ └── WalkingStick.mat.meta │ ├── Models.meta │ ├── Models │ │ ├── 2dText.fbx │ │ ├── 2dText.fbx.meta │ │ ├── AdvancedExamplesText.fbx │ │ ├── AdvancedExamplesText.fbx.meta │ │ ├── BasicExamplesText.fbx │ │ ├── BasicExamplesText.fbx.meta │ │ ├── CameraShakeText.fbx │ │ ├── CameraShakeText.fbx.meta │ │ ├── CurvePathsText.fbx │ │ ├── CurvePathsText.fbx.meta │ │ ├── DirectionalArrow.fbx │ │ ├── DirectionalArrow.fbx.meta │ │ ├── EndlessDrivingText.fbx │ │ ├── EndlessDrivingText.fbx.meta │ │ ├── ExampleCar.fbx │ │ ├── ExampleCar.fbx.meta │ │ ├── ExampleFirTree.fbx │ │ ├── ExampleFirTree.fbx.meta │ │ ├── Grid.fbx │ │ ├── Grid.fbx.meta │ │ ├── LeanTween-Icon.blend.zip │ │ ├── LeanTween-Icon.blend.zip.meta │ │ ├── LeanTween-Icon.fbx │ │ ├── LeanTween-Icon.fbx.meta │ │ ├── LeanTween.prefab │ │ ├── LeanTween.prefab.meta │ │ ├── LeanTweenHD-Icon.fbx │ │ ├── LeanTweenHD-Icon.fbx.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── LMaterial.mat │ │ │ ├── LMaterial.mat.meta │ │ │ ├── LineMaterial.mat │ │ │ ├── LineMaterial.mat.meta │ │ │ ├── Material.001.mat │ │ │ ├── Material.001.mat.meta │ │ │ ├── Material.mat │ │ │ ├── Material.mat.meta │ │ │ ├── Material_001.mat │ │ │ ├── Material_001.mat.meta │ │ │ ├── No Name.mat │ │ │ ├── No Name.mat.meta │ │ │ ├── SimpleAvatarAlphaBlue.mat │ │ │ ├── SimpleAvatarAlphaBlue.mat.meta │ │ │ ├── SimpleAvatarBlue.mat │ │ │ ├── SimpleAvatarBlue.mat.meta │ │ │ ├── SimpleAvatarHat.mat │ │ │ ├── SimpleAvatarHat.mat.meta │ │ │ ├── SimpleAvatarMat.mat │ │ │ ├── SimpleAvatarMat.mat.meta │ │ │ ├── SimpleAvatarSpace.mat │ │ │ ├── SimpleAvatarSpace.mat.meta │ │ │ ├── SubTitleText.mat │ │ │ ├── SubTitleText.mat.meta │ │ │ ├── eanTween.mat │ │ │ └── eanTween.mat.meta │ │ ├── SimpleAvatar.fbx │ │ ├── SimpleAvatar.fbx.meta │ │ ├── SimpleAvatarPieces.fbx │ │ └── SimpleAvatarPieces.fbx.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── Avatar2dParticles.prefab │ │ ├── Avatar2dParticles.prefab.meta │ │ ├── AvatarAlpha.prefab │ │ ├── AvatarAlpha.prefab.meta │ │ ├── AvatarDiffuse 1.prefab │ │ ├── AvatarDiffuse 1.prefab.meta │ │ ├── AvatarDiffuse.prefab │ │ ├── AvatarDiffuse.prefab.meta │ │ ├── AvatarEventsCS.prefab │ │ ├── AvatarEventsCS.prefab.meta │ │ ├── AvatarSpace.prefab │ │ ├── AvatarSpace.prefab.meta │ │ ├── AvatarSparkles.prefab │ │ ├── AvatarSparkles.prefab.meta │ │ ├── BasicExamplesText.prefab │ │ ├── BasicExamplesText.prefab.meta │ │ ├── DustCloud.prefab │ │ ├── DustCloud.prefab.meta │ │ ├── EndlessPiece.prefab │ │ ├── EndlessPiece.prefab.meta │ │ ├── GridLine.prefab │ │ ├── GridLine.prefab.meta │ │ ├── Grids.prefab │ │ └── Grids.prefab.meta │ ├── Scenes.meta │ ├── Scenes │ │ ├── Following.unity │ │ ├── Following.unity.meta │ │ ├── GeneralAdvancedTechniques.unity │ │ ├── GeneralAdvancedTechniques.unity.meta │ │ ├── GeneralBasic.unity │ │ ├── GeneralBasic.unity.meta │ │ ├── GeneralBasics2d.unity │ │ ├── GeneralBasics2d.unity.meta │ │ ├── GeneralCameraShake.unity │ │ ├── GeneralCameraShake.unity.meta │ │ ├── GeneralEasingTypes.unity │ │ ├── GeneralEasingTypes.unity.meta │ │ ├── GeneralEvents.unity │ │ ├── GeneralEvents.unity.meta │ │ ├── GeneralSequencer.unity │ │ ├── GeneralSequencer.unity.meta │ │ ├── GeneralSimpleUi.unity │ │ ├── GeneralSimpleUi.unity.meta │ │ ├── GeneralUISpace.unity │ │ ├── GeneralUISpace.unity.meta │ │ ├── LogoCinematic.unity │ │ ├── LogoCinematic.unity.meta │ │ ├── PathBezier.unity │ │ ├── PathBezier.unity.meta │ │ ├── PathBezier2d.unity │ │ ├── PathBezier2d.unity.meta │ │ ├── PathSpline2d.unity │ │ ├── PathSpline2d.unity.meta │ │ ├── PathSplineEndless.unity │ │ ├── PathSplineEndless.unity.meta │ │ ├── PathSplinePerformance.unity │ │ ├── PathSplinePerformance.unity.meta │ │ ├── PathSplineTrack.unity │ │ ├── PathSplineTrack.unity.meta │ │ ├── PathSplines.unity │ │ ├── PathSplines.unity.meta │ │ ├── TestingUnitTests.unity │ │ ├── TestingUnitTests.unity.meta │ │ ├── TestingZLegacy.unity │ │ ├── TestingZLegacy.unity.meta │ │ ├── TestingZLegacyExt.unity │ │ └── TestingZLegacyExt.unity.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── Archive.zip │ │ ├── Archive.zip.meta │ │ ├── Following.cs │ │ ├── Following.cs.meta │ │ ├── GeneralAdvancedTechniques.cs │ │ ├── GeneralAdvancedTechniques.cs.meta │ │ ├── GeneralBasic.cs │ │ ├── GeneralBasic.cs.meta │ │ ├── GeneralBasics2d.cs │ │ ├── GeneralBasics2d.cs.meta │ │ ├── GeneralCameraShake.cs │ │ ├── GeneralCameraShake.cs.meta │ │ ├── GeneralEasingTypes.cs │ │ ├── GeneralEasingTypes.cs.meta │ │ ├── GeneralEventsListeners.cs │ │ ├── GeneralEventsListeners.cs.meta │ │ ├── GeneralSequencer.cs │ │ ├── GeneralSequencer.cs.meta │ │ ├── GeneralSimpleUI.cs │ │ ├── GeneralSimpleUI.cs.meta │ │ ├── GeneralUISpace.cs │ │ ├── GeneralUISpace.cs.meta │ │ ├── LogoCinematic.cs │ │ ├── LogoCinematic.cs.meta │ │ ├── PathBezier.cs │ │ ├── PathBezier.cs.meta │ │ ├── PathBezier2d.cs │ │ ├── PathBezier2d.cs.meta │ │ ├── PathSpline.cs │ │ ├── PathSpline.cs.meta │ │ ├── PathSpline2d.cs │ │ ├── PathSpline2d.cs.meta │ │ ├── PathSplineEndless.cs │ │ ├── PathSplineEndless.cs.meta │ │ ├── PathSplinePerformance.cs │ │ ├── PathSplinePerformance.cs.meta │ │ ├── PathSplineTrack.cs │ │ ├── PathSplineTrack.cs.meta │ │ ├── PathSplines.cs │ │ ├── PathSplines.cs.meta │ │ ├── TestingUnitTests.cs │ │ ├── TestingUnitTests.cs.meta │ │ ├── TestingZLegacy.cs │ │ ├── TestingZLegacy.cs.meta │ │ ├── TestingZLegacyExt.cs │ │ └── TestingZLegacyExt.cs.meta │ ├── Textures.meta │ └── Textures │ │ ├── DefaultParticleReplacement.jpg │ │ ├── DefaultParticleReplacement.jpg.meta │ │ ├── Dude2d.png │ │ ├── Dude2d.png.meta │ │ ├── DustCloud.png │ │ ├── DustCloud.png.meta │ │ ├── HorizontalGradient.jpg │ │ ├── HorizontalGradient.jpg.meta │ │ ├── PowerUpStar.png │ │ └── PowerUpStar.png.meta ├── Testing.meta ├── Testing │ ├── FollowingTests.cs │ ├── FollowingTests.cs.meta │ ├── FollowingTests.unity │ ├── FollowingTests.unity.meta │ ├── PerformanceTests.cs │ ├── PerformanceTests.cs.meta │ ├── PerformanceTests.unity │ ├── PerformanceTests.unity.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── BulletPrefab.prefab │ │ └── BulletPrefab.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── LeanPool.cs │ │ └── LeanPool.cs.meta │ ├── Testing240.cs │ ├── Testing240.cs.meta │ ├── Testing240.unity │ ├── Testing240.unity.meta │ ├── Testing243.cs │ ├── Testing243.cs.meta │ ├── Testing243.unity │ ├── Testing243.unity.meta │ ├── Testing246.cs │ ├── Testing246.cs.meta │ ├── Testing246.unity │ ├── Testing246.unity.meta │ ├── Testing248.cs │ ├── Testing248.cs.meta │ ├── Testing248.unity │ ├── Testing248.unity.meta │ ├── TestingColorTweening.cs │ ├── TestingColorTweening.cs.meta │ ├── TestingDescr.cs │ ├── TestingDescr.cs.meta │ ├── TestingDescr.unity │ ├── TestingDescr.unity.meta │ ├── TestingIssue.cs │ ├── TestingIssue.cs.meta │ ├── TestingIssue.unity │ ├── TestingIssue.unity.meta │ ├── TestingIssue2.cs │ ├── TestingIssue2.cs.meta │ ├── TestingMaxTweens.cs │ ├── TestingMaxTweens.cs.meta │ ├── TestingMaxTweens.unity │ ├── TestingMaxTweens.unity.meta │ ├── TestingOptionalCancel.cs │ ├── TestingOptionalCancel.cs.meta │ ├── TestingOptionalCancel.unity │ ├── TestingOptionalCancel.unity.meta │ ├── TestingRotate.cs │ ├── TestingRotate.cs.meta │ ├── TestingRotate.unity │ ├── TestingRotate.unity.meta │ ├── TestingSceneSwitching.cs │ ├── TestingSceneSwitching.cs.meta │ ├── TestingSceneSwitching.unity │ ├── TestingSceneSwitching.unity.meta │ ├── TestingSequencer.cs │ ├── TestingSequencer.cs.meta │ ├── TestingSequencer.unity │ └── TestingSequencer.unity.meta ├── UPMExport.meta └── UPMExport │ ├── Editor.meta │ └── Editor │ ├── CopyExamplesFolder.asset │ ├── CopyExamplesFolder.asset.meta │ ├── ExportPackage.asset │ ├── ExportPackage.asset.meta │ ├── ExportPackageSamples.asset │ └── ExportPackageSamples.asset.meta ├── package.json └── package.json.meta /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | /.vs/* 8 | 9 | # Autogenerated VS/MD solution and project files 10 | ExportedObj/ 11 | *.csproj 12 | *.unityproj 13 | *.sln 14 | *.suo 15 | *.tmp 16 | *.user 17 | *.userprefs 18 | *.pidb 19 | *.booproj 20 | *.svd 21 | 22 | 23 | # Unity3D generated meta files 24 | *.pidb.meta 25 | 26 | # Unity3D Generated File On Crash Reports 27 | sysinfo.txt 28 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## [2.50.4](https://github.com/johannesdeml/LeanTween/tree/2.50.4) (2021-03-15) 4 | 5 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/2.50.3...2.50.4) 6 | 7 | ## [2.50.3](https://github.com/johannesdeml/LeanTween/tree/2.50.3) (2020-01-30) 8 | 9 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/2.50.2...2.50.3) 10 | 11 | ## [2.50.2](https://github.com/johannesdeml/LeanTween/tree/2.50.2) (2019-12-03) 12 | 13 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/2.50.1...2.50.2) 14 | 15 | **Implemented enhancements:** 16 | 17 | - Support 2019.3 Enter Play Mode [\#3](https://github.com/JohannesDeml/LeanTween/issues/3) 18 | 19 | ## [2.50.1](https://github.com/johannesdeml/LeanTween/tree/2.50.1) (2019-11-11) 20 | 21 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.45...2.50.1) 22 | 23 | **Closed issues:** 24 | 25 | - Convert to Unity Package [\#2](https://github.com/JohannesDeml/LeanTween/issues/2) 26 | 27 | ## [Release2.45](https://github.com/johannesdeml/LeanTween/tree/Release2.45) (2017-05-22) 28 | 29 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.44...Release2.45) 30 | 31 | ## [Release2.44](https://github.com/johannesdeml/LeanTween/tree/Release2.44) (2017-01-30) 32 | 33 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.43...Release2.44) 34 | 35 | ## [Release2.43](https://github.com/johannesdeml/LeanTween/tree/Release2.43) (2017-01-14) 36 | 37 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.42...Release2.43) 38 | 39 | ## [Release2.42](https://github.com/johannesdeml/LeanTween/tree/Release2.42) (2016-11-19) 40 | 41 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.41...Release2.42) 42 | 43 | ## [Release2.41](https://github.com/johannesdeml/LeanTween/tree/Release2.41) (2016-10-31) 44 | 45 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.34...Release2.41) 46 | 47 | ## [Release2.34](https://github.com/johannesdeml/LeanTween/tree/Release2.34) (2016-07-23) 48 | 49 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/Release2.32...Release2.34) 50 | 51 | ## [Release2.32](https://github.com/johannesdeml/LeanTween/tree/Release2.32) (2016-02-15) 52 | 53 | [Full Changelog](https://github.com/johannesdeml/LeanTween/compare/1115e3d881e8243a750414844ed9b93e8eb4da9e...Release2.32) 54 | 55 | 56 | 57 | \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* 58 | -------------------------------------------------------------------------------- /CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd2c58a82c772124597af34d88839bdc 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /CreateChangeLog.bat: -------------------------------------------------------------------------------- 1 | github_changelog_generator -u johannesdeml -p LeanTween 2 | PAUSE -------------------------------------------------------------------------------- /CreateChangeLog.bat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 415c0d663a447064cab4e228ad2b3a9f 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6737b2aaab0f546e39693df5f551dfc8 3 | -------------------------------------------------------------------------------- /Documentation/assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb26df1b849af495bbce0f91bac5a3f7 3 | -------------------------------------------------------------------------------- /Documentation/assets/css.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f4f05e2c3c7b4c5eb028eb9c0c93886 3 | -------------------------------------------------------------------------------- /Documentation/assets/css/main.css.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2e6f2786cebb4eb8945b46000f02d18 3 | -------------------------------------------------------------------------------- /Documentation/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Documentation/assets/favicon.ico -------------------------------------------------------------------------------- /Documentation/assets/favicon.ico.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 751c9ec47ccc246ae9845f7503545585 3 | timeCreated: 1479470953 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Documentation/assets/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirector 5 | 6 | 7 | 8 | Click here to redirect 9 | 10 | 11 | -------------------------------------------------------------------------------- /Documentation/assets/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 395ceea41819e494b8fe14c2e7b05a00 3 | -------------------------------------------------------------------------------- /Documentation/classes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4bb1e3d3bec8431a82cb033f38b4ceb 3 | -------------------------------------------------------------------------------- /Documentation/classes/LTBezierPath.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7b721e4275c14b53a73241b9d0b256f 3 | -------------------------------------------------------------------------------- /Documentation/classes/LTDescr.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 728d9c45462a9409f8b8be1447f59e94 3 | -------------------------------------------------------------------------------- /Documentation/classes/LTEvent.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b8203605b4454b009a6fc1e269a8d50 3 | -------------------------------------------------------------------------------- /Documentation/classes/LTRect.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7ee5979c5f5f428d9c8735d84e09421 3 | -------------------------------------------------------------------------------- /Documentation/classes/LTSeq.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2208e3213ef84ee28cb1745e7eb9b26 3 | timeCreated: 1488755637 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Documentation/classes/LTSpline.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1adcbb4b77b884a4fb75bde98799d037 3 | -------------------------------------------------------------------------------- /Documentation/classes/LeanAudio.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddb683830b7524ebb8b302202c645c65 3 | -------------------------------------------------------------------------------- /Documentation/classes/LeanAudioOptions.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff952359765254c20b97874f5949c0d7 3 | -------------------------------------------------------------------------------- /Documentation/classes/LeanSmooth.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e988e3f0c183c44c29adbd5e82d6fd87 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Documentation/classes/LeanTween.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: beea01b16f84c4f18a168afa5800b612 3 | -------------------------------------------------------------------------------- /Documentation/classes/LeanTweenType.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85c97d3850f59444cb0751b3bc40b06d 3 | -------------------------------------------------------------------------------- /Documentation/classes/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirector 5 | 6 | 7 | 8 | Click here to redirect 9 | 10 | 11 | -------------------------------------------------------------------------------- /Documentation/classes/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a23cc63a765c44c9c82fb33b1ecb455f 3 | -------------------------------------------------------------------------------- /Documentation/elements.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 932507f3c60bb4fcea847cba753363b8 3 | folderAsset: yes 4 | timeCreated: 1479470944 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Documentation/elements/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirector 5 | 6 | 7 | 8 | Click here to redirect 9 | 10 | 11 | -------------------------------------------------------------------------------- /Documentation/elements/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6a53cd107c1f4d5498ea9c736e3a650 3 | timeCreated: 1479471015 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Documentation/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78eeb9616e21d4178b574871040d7fa0 3 | -------------------------------------------------------------------------------- /Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19bfca9f9a913415ea58580f6667f922 3 | folderAsset: yes 4 | timeCreated: 1454272449 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Editor/LeanTweenDocumentationEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | #if UNITY_EDITOR 3 | using UnityEditor; 4 | 5 | public class LeanTweenDocumentationEditor : Editor { 6 | 7 | [MenuItem ("Help/LeanTween Documentation")] 8 | static void openDocumentation() 9 | { 10 | #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_0_1 && !UNITY_4_1 && !UNITY_4_2 && !UNITY_4_3 11 | // Loops through all items in case the user has moved the default installation directory 12 | string[] guids = AssetDatabase.FindAssets ("LeanTween", null); 13 | string documentationPath = ""; 14 | foreach (string guid in guids){ 15 | string path = AssetDatabase.GUIDToAssetPath(guid); 16 | if(path.IndexOf("classes/LeanTween.html")>=0){ 17 | documentationPath = path; 18 | break; 19 | } 20 | } 21 | documentationPath = documentationPath.Substring(documentationPath.IndexOf("/")); 22 | string browserPath = "file://" + Application.dataPath + documentationPath + "#index"; 23 | Application.OpenURL(browserPath); 24 | 25 | #else 26 | // assumes the default installation directory 27 | string documentationPath = "file://"+Application.dataPath + "/LeanTween/Documentation/classes/LeanTween.html#index"; 28 | Application.OpenURL(documentationPath); 29 | 30 | #endif 31 | } 32 | 33 | [MenuItem ("Help/LeanTween Forum (ask questions)")] 34 | static void openForum() 35 | { 36 | Application.OpenURL("http://forum.unity3d.com/threads/leantween-a-tweening-engine-that-is-up-to-5x-faster-than-competing-engines.161113/"); 37 | } 38 | 39 | [MenuItem ("Help/LeanTween GitHub (contribute code)")] 40 | static void openGit() 41 | { 42 | Application.OpenURL("https://github.com/dentedpixel/LeanTween"); 43 | } 44 | 45 | [MenuItem ("Help/LeanTween Support (donate)")] 46 | static void openLTDonate() 47 | { 48 | Application.OpenURL("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YJPUT3RAK5VL8"); 49 | } 50 | 51 | [MenuItem ("Help/Dented Pixel News")] 52 | static void openDPNews() 53 | { 54 | Application.OpenURL("http://dentedpixel.com/category/developer-diary/"); 55 | } 56 | } 57 | 58 | #endif -------------------------------------------------------------------------------- /Editor/LeanTweenDocumentationEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52fea17a2d56d46afa0d6cb52e2a4335 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Editor/LeanTweenEditorUtils.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Supyrb. All rights reserved. 4 | // 5 | // 6 | // Johannes Deml 7 | // send@johannesdeml.com 8 | // 9 | // -------------------------------------------------------------------------------------------------------------------- 10 | 11 | using UnityEditor; 12 | 13 | public static class LeanTweenEditorUtils 14 | { 15 | [InitializeOnLoadMethod] 16 | static void OnProjectLoadedInEditor() 17 | { 18 | EditorApplication.playModeStateChanged += OnPlayModeStateChanged; 19 | } 20 | 21 | /// 22 | /// Reset leantween when exiting the play mode 23 | /// This way Leantween does not require to reload the domain or scene when entering the playmode (available since 2019.3) 24 | /// 25 | /// 26 | private static void OnPlayModeStateChanged(PlayModeStateChange state) 27 | { 28 | if (state == PlayModeStateChange.EnteredEditMode) 29 | { 30 | LeanTween.reset(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Editor/LeanTweenEditorUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a08b38f5e9c646318210761a1b9ecf2c 3 | timeCreated: 1575379899 -------------------------------------------------------------------------------- /Editor/com.leantween.editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.leantween.editor", 3 | "references": [ 4 | "com.leantween" 5 | ], 6 | "includePlatforms": [ 7 | "Editor" 8 | ], 9 | "excludePlatforms": [], 10 | "allowUnsafeCode": false, 11 | "overrideReferences": false, 12 | "precompiledReferences": [], 13 | "autoReferenced": true, 14 | "defineConstraints": [], 15 | "versionDefines": [], 16 | "noEngineReferences": false 17 | } -------------------------------------------------------------------------------- /Editor/com.leantween.editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecdeb138f73fef74aa7e92e674d5a2fd 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Framework.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3f23ec8eb7c24f0bbb1d41bf96c154f 3 | folderAsset: yes 4 | timeCreated: 1469292088 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Framework/LTDescr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 381c8d6fb1acdc348870a7147bc98723 3 | timeCreated: 1463137984 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework/LTDescrOptional.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1ba8f1ef97134cb39b52ae26678db63 3 | timeCreated: 1471504769 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework/LTSeq.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c88dbe4cdd9944f198e9796ee394c86 3 | timeCreated: 1488665079 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework/LeanAudio.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52e41e970d9353942b27458440bec9eb 3 | timeCreated: 1427917971 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework/LeanSmooth.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ca0f285af8dd4270bd759978223faad 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Framework/LeanTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82464f26ca2ba284a8f92f51248c574a 3 | timeCreated: 1427917971 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework/LeanTween.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c2f4b27196f84954b44753aaac214bb 3 | timeCreated: 1463137984 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Framework/LeanTween.dll.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Framework/LeanTween.dll.zip -------------------------------------------------------------------------------- /Framework/LeanTween.dll.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffeadda6aaa064923a3f7e28ff26afb1 3 | timeCreated: 1477948563 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Framework/LeanTweenExt.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dbe851e9c0814f1d8f514ecf70f675d 3 | timeCreated: 1533842565 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Framework/com.leantween.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.leantween", 3 | "references": [], 4 | "includePlatforms": [], 5 | "excludePlatforms": [], 6 | "allowUnsafeCode": false, 7 | "overrideReferences": false, 8 | "precompiledReferences": [], 9 | "autoReferenced": true, 10 | "defineConstraints": [], 11 | "versionDefines": [], 12 | "noEngineReferences": false 13 | } -------------------------------------------------------------------------------- /Framework/com.leantween.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da05cfec51b6c974cb48c8b604fd519d 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017 Russell Savage - Dented Pixel 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | TERMS OF USE - EASING EQUATIONS 24 | Open source under the BSD License. 25 | Copyright (c)2001 Robert Penner 26 | All rights reserved. 27 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 28 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 29 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 30 | Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. 31 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | -------------------------------------------------------------------------------- /LICENSE.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e389e9bcd4f944c338327697bd209cad 3 | timeCreated: 1469016738 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LeanTween Unity Package 2 | 3 | ![Leantween UPM](https://repository-images.githubusercontent.com/108003426/0f689480-8597-11eb-9bac-bb36cdc063b3) 4 | > LeanTween is an efficient tweening engine for the Unity 3d engine 5 | [![openupm](https://img.shields.io/npm/v/com.oss.leantween?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.oss.leantween/) [![](https://img.shields.io/github/release-date/JohannesDeml/LeanTween.svg)](https://github.com/JohannesDeml/LeanTween/releases) [![Unity 5.6 or later](https://img.shields.io/badge/unity-5.6%20or%20later-blue.svg?logo=unity&cacheSeconds=2592000)](https://unity3d.com/get-unity/download/archive) [![Tested up to Unity 2020.2](https://img.shields.io/badge/tested%20up%20to%20unity-2020.2-green.svg?logo=unity&cacheSeconds=2592000)](https://unity3d.com/get-unity/download/archive) 6 | 7 | This is a fork of [DentedPixel's Leantween](https://github.com/dentedpixel/LeanTween), maintaining usability of the asset with Unity and making it available as a package. 8 | 9 | * [Documentation](http://dentedpixel.com/LeanTweenDocumentation/classes/LeanTween.html) 10 | * [Changelog](./CHANGELOG.md) 11 | * [License](./LICENSE.md) 12 | 13 | ## Installation 14 | 15 | ### Simple Download 16 | [Download the latest Unity Package](../../releases/latest) 17 | 18 | ### OpenUPM 19 | 20 | Install the package with [OpenUPM](https://openupm.com/) through the commandline 21 | 22 | ```sh 23 | # Install openupm-cli 24 | $ npm install -g openupm-cli 25 | 26 | # Enter your unity project folder 27 | $ cd YOUR_UNITY_PROJECT_FOLDER 28 | 29 | # Add package to your project 30 | $ openupm add com.oss.leantween 31 | ``` 32 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a6c83d9bd243aa4fb397b47d2814ff3 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ReadMe.txt: -------------------------------------------------------------------------------- 1 | LeanTween is an efficient tweening engine for Unity3d 2 | 3 | Full Documentation: 4 | http://dentedpixel.com/LeanTweenDocumentation/classes/LeanTween.html 5 | This can also be accessed offline! From the Unity menu Help->LeanTween Documentation 6 | 7 | Getting Started 8 | 9 | There are many examples included! Look in the “LeanTween/LeanTweenExamples" folder to see many of the methods outlined. 10 | -------------------------------------------------------------------------------- /ReadMe.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1e0da947b69648fdb1884d602088d92 3 | -------------------------------------------------------------------------------- /Samples~/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc2ca34a3b6be484294d335cce9915e6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d71b219a4562400b9fabb60eb51396d 3 | folderAsset: yes 4 | timeCreated: 1460027769 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/2dUnlitWithFade.shader: -------------------------------------------------------------------------------- 1 | Shader "Custom/2dUnlitWithFade" { 2 | Properties 3 | { 4 | _Color ("Color Tint", Color) = (1,1,1,1) 5 | _MainTex ("Base (RGB) Alpha (A)", 2D) = "white" 6 | } 7 | 8 | Category 9 | { 10 | Lighting Off 11 | ZWrite Off 12 | //ZWrite On // uncomment if you have problems like the sprite disappear in some rotations. 13 | Cull back 14 | Blend SrcAlpha OneMinusSrcAlpha 15 | //AlphaTest Greater 0.001 // uncomment if you have problems like the sprites or 3d text have white quads instead of alpha pixels. 16 | Tags {Queue=Transparent} 17 | 18 | SubShader 19 | { 20 | Pass 21 | { 22 | SetTexture [_MainTex] 23 | { 24 | ConstantColor [_Color] 25 | Combine Texture * constant 26 | } 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/2dUnlitWithFade.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bce9282b1bfd475284fd2e72b37403c 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/GrumpyCat.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Archived/GrumpyCat.jpeg -------------------------------------------------------------------------------- /Samples~/Examples/Archived/GrumpyCat.jpeg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a9d1d221a3c94d83b614d921df0402e 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 1 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | textureFormat: -1 23 | maxTextureSize: 1024 24 | textureSettings: 25 | filterMode: -1 26 | aniso: 1 27 | mipBias: -1 28 | wrapMode: 0 29 | nPOTScale: 0 30 | lightmap: 0 31 | compressionQuality: 50 32 | textureType: 5 33 | buildTargetSettings: [] 34 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/OldGUIExamplesCS.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 876bfcaf53a664f29a628faa9fa332fc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/OldGUIExamplesCS.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec27881ee9cf54018ac9bd5706c2fdab 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/SoBeautiful.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Archived/SoBeautiful.gif -------------------------------------------------------------------------------- /Samples~/Examples/Archived/SoBeautiful.gif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78e9e608c3c9d47a3b312c2908d10f46 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | textureFormat: -1 23 | maxTextureSize: 1024 24 | textureSettings: 25 | filterMode: -1 26 | aniso: -1 27 | mipBias: -1 28 | wrapMode: -1 29 | nPOTScale: 1 30 | lightmap: 0 31 | compressionQuality: 50 32 | textureType: -1 33 | buildTargetSettings: [] 34 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/TestingPunch.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8abaf57a262a44a994d8e7bcbc035e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/TestingPunch.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cd53863374404f7b8e101f758cc46e7 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/TestingRigidbodyCS.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class TestingRigidbodyCS : MonoBehaviour { 6 | 7 | private GameObject ball1; 8 | // Use this for initialization 9 | void Start () { 10 | ball1 = GameObject.Find("Sphere1"); 11 | 12 | LeanTween.rotateAround( ball1, Vector3.forward, -90f, 1.0f); 13 | 14 | LeanTween.move( ball1, new Vector3(2f,0f,7f), 1.0f).setDelay(1.0f).setRepeat(-1); 15 | } 16 | 17 | // Update is called once per frame 18 | void Update () { 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/TestingRigidbodyCS.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1172f23ac87274d9f941c26abca49be5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Archived/TestingRigidbodyCS.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85c5a0f0e397a4579b42c67c6dce87ef 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a8596587ab4843d2ad8706c4d9c173b 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/AlphBumps.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: AlphBumps 11 | m_Shader: {fileID: 31, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: [] 31 | m_Colors: 32 | - _Color: {r: 1, g: 1, b: 1, a: 1} 33 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/AlphBumps.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12c720f1dd5674502bc1185ff99b70f9 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/AlphaReadyMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: AlphaReadyMaterial 11 | m_Shader: {fileID: 30, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: ETC1_EXTERNAL_ALPHA 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _Cutoff: 0.5 32 | m_Colors: 33 | - _Color: {r: 1, g: 1, b: 1, a: 1} 34 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/AlphaReadyMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61731bf38a6fa4d66b536bc03fc8eb3f 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/DirectionalArrowMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: DirectionalArrowMaterial 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0.044998895, g: 0.6050462, b: 0.75373137, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/DirectionalArrowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79809b4fc57ad41b982c1dd5ceb812b2 3 | timeCreated: 1535222686 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/FrictionLess.physicMaterial: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!134 &13400000 4 | PhysicMaterial: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: FrictionLess 10 | dynamicFriction: 0 11 | staticFriction: 0 12 | bounciness: 1 13 | frictionCombine: 0 14 | bounceCombine: 0 15 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/FrictionLess.physicMaterial.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1560575207a7b4f27bcd4ab2aeb2e3a1 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_PersonSprites.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futoro_PersonSprites.jpg -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_PlanetMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Futoro_PlanetMaterial 11 | m_Shader: {fileID: 22, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _Cube: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _Illum: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MainTex: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | m_Floats: 39 | - _EmissionLM: 0 40 | - _Shininess: 0.059286643 41 | m_Colors: 42 | - _Color: {r: 0.014705896, g: 0.002595158, b: 0.002595158, a: 1} 43 | - _ReflectColor: {r: 0, g: 0, b: 0, a: 0.5019608} 44 | - _SpecColor: {r: 0.05799573, g: 0.04163062, b: 0.25735295, a: 1} 45 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_PlanetMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b98784ec692b4e00a86fa1044ad8998 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_Ring.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futoro_Ring.psd -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_Ring.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef31bc3f46d6047b29ff513e55daf05b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 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 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 256 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 256 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 1 88 | pSDShowRemoveMatteOption: 1 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_SineWave.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Futoro_SineWave 11 | m_Shader: {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: d835741a3c4a14a0aa5f7536c46456c4, type: 3} 24 | m_Scale: {x: 4, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: 27 | - _ColorMask: 15 28 | - _Stencil: 0 29 | - _StencilComp: 8 30 | - _StencilOp: 0 31 | - _StencilReadMask: 255 32 | - _StencilWriteMask: 255 33 | m_Colors: 34 | - _Color: {r: 1, g: 1, b: 1, a: 1} 35 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futoro_SineWave.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2eed51ebc4ee4089986bb1639255f0e 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_Bar.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futuro_Bar.psd -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_Bar.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 492b9988436bd45049a9a6bc52ac8fb0 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 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 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 24, y: 31, z: 25, w: 31} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 1024 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 1 88 | pSDShowRemoveMatteOption: 1 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_ButtonBack.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futuro_ButtonBack.psd -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_ButtonBack.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3abce7efa3854a4cb1dd6b47f553027 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 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 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 33, y: 32, z: 31, w: 32} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 1024 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 1 88 | pSDShowRemoveMatteOption: 1 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_ButtonBackDark.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futuro_ButtonBackDark.psd -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_SineWave.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futuro_SineWave.psd -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_WindowBack.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Material/Futuro_WindowBack.psd -------------------------------------------------------------------------------- /Samples~/Examples/Material/Futuro_WindowBack.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 678c92572cc724845a460c87117f5353 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 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 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 120, y: 120, z: 120, w: 120} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 1024 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 1 88 | pSDShowRemoveMatteOption: 1 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Graph.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Graph 11 | m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 2000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: 27 | - _InvFade: 1 28 | m_Colors: 29 | - _Color: {r: 1, g: 1, b: 1, a: 1} 30 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Graph.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8a5e544bfa0d416892e87b12e93911b 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/GridLines.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: GridLines 11 | m_Shader: {fileID: 10, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _Illum: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _Emission: 1 32 | - _EmissionLM: 0 33 | - _InvFade: 1 34 | - _Shininess: 0.7 35 | m_Colors: 36 | - _Color: {r: 0, g: 0.20586912, b: 0.3134328, a: 1} 37 | - _Emission: {r: 0, g: 0, b: 0, a: 0} 38 | - _SpecColor: {r: 1, g: 1, b: 1, a: 1} 39 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/GridLines.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a06e258e3bf640e885048b32fdf51b7 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Ground.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Ground 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0.66445756, g: 0.8647385, b: 0.91791046, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Ground.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6784005974824c55b2b59b5bda24153 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/LineGlowMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LineGlowMaterial 11 | m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 2000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 2800000, guid: 547f51a8eea214bd7a5863356fd25619, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _InvFade: 1 32 | m_Colors: 33 | - _Color: {r: 0, g: 0.95804214, b: 1, a: 1} 34 | - _TintColor: {r: 0.41106036, g: 0.75850374, b: 0.9029851, a: 1} 35 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/LineGlowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 658f4eba50cce41098da6ed347d8d270 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Mock2d.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Mock2d 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: 6a9d1d221a3c94d83b614d921df0402e, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 1, g: 1, b: 1, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/Mock2d.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab11516f0780f4d438844432fc7e8070 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/ParticleGlow.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: ParticleGlow 11 | m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 3000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: eabba395643bb4e388d633c8d9a4f1e8, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _Glossiness: 0.5 64 | - _Metallic: 0 65 | - _Mode: 0 66 | - _OcclusionStrength: 1 67 | - _Parallax: 0.02 68 | - _SrcBlend: 1 69 | - _UVSec: 0 70 | - _ZWrite: 1 71 | m_Colors: 72 | - _Color: {r: 1, g: 1, b: 1, a: 1} 73 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 74 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/ParticleGlow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8de91330a48c540279c3bc6e3aff2b4d 3 | timeCreated: 1465674294 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/PointMark.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: PointMark 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0.044998895, g: 0.6050462, b: 0.75373137, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/PointMark.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e77db49bc9fb6499290655245ce9bc95 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/SpaceLineGlowMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SpaceLineGlowMaterial 11 | m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 2800000, guid: 547f51a8eea214bd7a5863356fd25619, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _InvFade: 1 32 | m_Colors: 33 | - _Color: {r: 0, g: 0.95804214, b: 1, a: 1} 34 | - _TintColor: {r: 0.41106036, g: 0.75850374, b: 0.9029851, a: 1} 35 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/SpaceLineGlowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d170a8aa584240f4b18ce6a5e58ef2e 3 | timeCreated: 1535294217 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackCar.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TrackCar 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 2000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _Glossiness: 0.5 64 | - _Metallic: 0 65 | - _Mode: 0 66 | - _OcclusionStrength: 1 67 | - _Parallax: 0.02 68 | - _SrcBlend: 1 69 | - _UVSec: 0 70 | - _ZWrite: 1 71 | m_Colors: 72 | - _Color: {r: 1, g: 0, b: 0, a: 1} 73 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 74 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackCar.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e55a11a05aa141af9f3be5e921cc003 3 | timeCreated: 1460231732 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackFollowMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TrackFollowMaterial 11 | m_Shader: {fileID: 201, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: eabba395643bb4e388d633c8d9a4f1e8, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: 27 | - _InvFade: 1 28 | m_Colors: 29 | - _Color: {r: 0, g: 0.7902098, b: 1, a: 1} 30 | - _TintColor: {r: 1, g: 0.125, b: 0.25172395, a: 0.5019608} 31 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackFollowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9efbdb862990242178d5b47a40b48e80 3 | timeCreated: 1460232167 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackGlowMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TrackGlowMaterial 11 | m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 2800000, guid: 547f51a8eea214bd7a5863356fd25619, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _InvFade: 1 32 | m_Colors: 33 | - _Color: {r: 0, g: 0.95804214, b: 1, a: 1} 34 | - _TintColor: {r: 1, g: 0, b: 0, a: 1} 35 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackGlowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f99cee49392444d14b5e8c16cd41348d 3 | timeCreated: 1460232340 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackLines.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TrackLines 11 | m_Shader: {fileID: 202, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 3000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: eabba395643bb4e388d633c8d9a4f1e8, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _Glossiness: 0.5 64 | - _InvFade: 1 65 | - _Metallic: 0 66 | - _Mode: 0 67 | - _OcclusionStrength: 1 68 | - _Parallax: 0.02 69 | - _SrcBlend: 1 70 | - _UVSec: 0 71 | - _ZWrite: 1 72 | m_Colors: 73 | - _Color: {r: 1, g: 1, b: 1, a: 1} 74 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 75 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrackLines.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54538213a935248b8ac1ce7b42140cad 3 | timeCreated: 1460233706 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrailFollowMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TrailFollowMaterial 11 | m_Shader: {fileID: 201, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: eabba395643bb4e388d633c8d9a4f1e8, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: 27 | - _InvFade: 1 28 | m_Colors: 29 | - _Color: {r: 0, g: 0.7902098, b: 1, a: 1} 30 | - _TintColor: {r: 0.2, g: 0.9647059, b: 1, a: 0.5019608} 31 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/TrailFollowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff16fb4a90fe84bec9c8f29698aa0eed 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/WalkingStick.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: WalkingStick 11 | m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: 3f3412b4ab34a4ea09e7bd063d55e0c3, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 1, g: 1, b: 1, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Material/WalkingStick.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3285d6d0bc506494b8fecba4d7aada26 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59b55a9208dd7467b964ad4ead1ef272 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/2dText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/2dText.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/2dText.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0f35ff1d23074af5bcd82d9caa31ebe 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100002: //RootNode 7 | 400002: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Text.002 11 | 11100000: //RootNode 12 | materials: 13 | importMaterials: 1 14 | materialName: 0 15 | materialSearch: 1 16 | animations: 17 | legacyGenerateAnimations: 3 18 | bakeSimulation: 0 19 | resampleRotations: 1 20 | optimizeGameObjects: 0 21 | motionNodeName: 22 | animationImportErrors: 23 | animationImportWarnings: 24 | animationRetargetingWarnings: 25 | animationDoRetargetingWarnings: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | clipAnimations: [] 33 | isReadable: 1 34 | meshes: 35 | lODScreenPercentages: [] 36 | globalScale: 1 37 | meshCompression: 0 38 | addColliders: 0 39 | importBlendShapes: 1 40 | swapUVChannels: 0 41 | generateSecondaryUV: 0 42 | useFileUnits: 1 43 | optimizeMeshForGPU: 1 44 | keepQuads: 0 45 | weldVertices: 1 46 | secondaryUVAngleDistortion: 8 47 | secondaryUVAreaDistortion: 15.000001 48 | secondaryUVHardAngle: 88 49 | secondaryUVPackMargin: 4 50 | useFileScale: 0 51 | tangentSpace: 52 | normalSmoothAngle: 60 53 | normalImportMode: 0 54 | tangentImportMode: 4 55 | importAnimation: 1 56 | copyAvatar: 0 57 | humanDescription: 58 | human: [] 59 | skeleton: [] 60 | armTwist: 0.5 61 | foreArmTwist: 0.5 62 | upperLegTwist: 0.5 63 | legTwist: 0.5 64 | armStretch: 0.05 65 | legStretch: 0.05 66 | feetSpacing: 0 67 | rootMotionBoneName: 68 | hasTranslationDoF: 0 69 | lastHumanDescriptionAvatarSource: {instanceID: 0} 70 | animationType: 1 71 | humanoidOversampling: 1 72 | additionalBone: 0 73 | userData: 74 | assetBundleName: 75 | assetBundleVariant: 76 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/AdvancedExamplesText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/AdvancedExamplesText.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/AdvancedExamplesText.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47a7c1f40f5df413fbc8bf1c01c011a2 3 | timeCreated: 1464353277 4 | licenseType: Free 5 | ModelImporter: 6 | serializedVersion: 18 7 | fileIDToRecycleName: 8 | 100000: //RootNode 9 | 100002: Camera 10 | 100004: Lamp 11 | 100006: Text2 12 | 100008: Text3 13 | 100010: Text4 14 | 100012: TextRecursion 15 | 400000: //RootNode 16 | 400002: Camera 17 | 400004: Lamp 18 | 400006: Text2 19 | 400008: Text3 20 | 400010: Text4 21 | 400012: TextRecursion 22 | 2300000: Text2 23 | 2300002: Text3 24 | 2300004: Text4 25 | 2300006: TextRecursion 26 | 3300000: Text2 27 | 3300002: Text3 28 | 3300004: Text4 29 | 3300006: TextRecursion 30 | 4300000: Text4 31 | 4300002: Text3 32 | 4300004: TextRecursion 33 | 4300006: Text2 34 | materials: 35 | importMaterials: 1 36 | materialName: 0 37 | materialSearch: 1 38 | animations: 39 | legacyGenerateAnimations: 4 40 | bakeSimulation: 0 41 | optimizeGameObjects: 0 42 | motionNodeName: 43 | animationCompression: 1 44 | animationRotationError: .5 45 | animationPositionError: .5 46 | animationScaleError: .5 47 | animationWrapMode: 0 48 | extraExposedTransformPaths: [] 49 | clipAnimations: [] 50 | isReadable: 1 51 | meshes: 52 | lODScreenPercentages: [] 53 | globalScale: 1 54 | meshCompression: 0 55 | addColliders: 0 56 | importBlendShapes: 1 57 | swapUVChannels: 0 58 | generateSecondaryUV: 0 59 | useFileUnits: 1 60 | optimizeMeshForGPU: 1 61 | keepQuads: 0 62 | weldVertices: 1 63 | secondaryUVAngleDistortion: 8 64 | secondaryUVAreaDistortion: 15.000001 65 | secondaryUVHardAngle: 88 66 | secondaryUVPackMargin: 4 67 | useFileScale: 1 68 | tangentSpace: 69 | normalSmoothAngle: 60 70 | splitTangentsAcrossUV: 1 71 | normalImportMode: 0 72 | tangentImportMode: 1 73 | importAnimation: 1 74 | copyAvatar: 0 75 | humanDescription: 76 | human: [] 77 | skeleton: [] 78 | armTwist: .5 79 | foreArmTwist: .5 80 | upperLegTwist: .5 81 | legTwist: .5 82 | armStretch: .0500000007 83 | legStretch: .0500000007 84 | feetSpacing: 0 85 | rootMotionBoneName: 86 | lastHumanDescriptionAvatarSource: {instanceID: 0} 87 | animationType: 0 88 | additionalBone: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/BasicExamplesText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/BasicExamplesText.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/CameraShakeText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/CameraShakeText.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/CameraShakeText.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4d8d07c107904cdfb54156450f020f3 3 | ModelImporter: 4 | fileIDToRecycleName: 5 | 4300000: Text.002 6 | serializedVersion: 10 7 | materials: 8 | importMaterials: 1 9 | materialName: 0 10 | materialSearch: 1 11 | animations: 12 | generateAnimations: 3 13 | bakeSimulation: 0 14 | splitAnimations: 1 15 | animationCompression: 1 16 | animationRotationError: .5 17 | animationPositionError: .5 18 | animationScaleError: .5 19 | animationWrapMode: 0 20 | clipAnimations: [] 21 | meshes: 22 | lODScreenPercentages: [] 23 | globalScale: 1 24 | meshCompression: 0 25 | addColliders: 0 26 | swapUVChannels: 0 27 | generateSecondaryUV: 0 28 | useFileUnits: 1 29 | optimizeMesh: 0 30 | secondaryUVAngleDistortion: 8 31 | secondaryUVAreaDistortion: 15.000001 32 | secondaryUVHardAngle: 88 33 | secondaryUVPackMargin: 4 34 | tangentSpace: 35 | normalSmoothAngle: 60 36 | splitTangentsAcrossUV: 1 37 | normalImportMode: 0 38 | tangentImportMode: 1 39 | textMetaNamesToFileIDs: 40 | //RootNode: 41 | data: 42 | first: 1 43 | second: a0860100 44 | data: 45 | first: 4 46 | second: 801a0600 47 | data: 48 | first: 23 49 | second: 60182300 50 | data: 51 | first: 33 52 | second: a05a3200 53 | data: 54 | first: 111 55 | second: 605fa900 56 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/CurvePathsText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/CurvePathsText.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/CurvePathsText.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9256e250ab62647109679d3cbbaf6f04 3 | ModelImporter: 4 | fileIDToRecycleName: 5 | 4300000: Text.001 6 | serializedVersion: 10 7 | materials: 8 | importMaterials: 1 9 | materialName: 0 10 | materialSearch: 1 11 | animations: 12 | generateAnimations: 3 13 | bakeSimulation: 0 14 | splitAnimations: 1 15 | animationCompression: 1 16 | animationRotationError: .5 17 | animationPositionError: .5 18 | animationScaleError: .5 19 | animationWrapMode: 0 20 | clipAnimations: [] 21 | meshes: 22 | lODScreenPercentages: [] 23 | globalScale: .00999999978 24 | meshCompression: 0 25 | addColliders: 0 26 | swapUVChannels: 0 27 | generateSecondaryUV: 0 28 | useFileUnits: 1 29 | optimizeMesh: 0 30 | secondaryUVAngleDistortion: 8 31 | secondaryUVAreaDistortion: 15.000001 32 | secondaryUVHardAngle: 88 33 | secondaryUVPackMargin: 4 34 | tangentSpace: 35 | normalSmoothAngle: 60 36 | splitTangentsAcrossUV: 1 37 | normalImportMode: 0 38 | tangentImportMode: 1 39 | textMetaNamesToFileIDs: 40 | //RootNode: 41 | data: 42 | first: 1 43 | second: a0860100 44 | data: 45 | first: 4 46 | second: 801a0600 47 | data: 48 | first: 23 49 | second: 60182300 50 | data: 51 | first: 33 52 | second: a05a3200 53 | data: 54 | first: 111 55 | second: 605fa900 56 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/DirectionalArrow.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/DirectionalArrow.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/EndlessDrivingText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/EndlessDrivingText.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/EndlessDrivingText.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6311d891eea1c406c941c23f9dfa5265 3 | timeCreated: 1464348535 4 | licenseType: Free 5 | ModelImporter: 6 | serializedVersion: 19 7 | fileIDToRecycleName: 8 | 100000: //RootNode 9 | 400000: //RootNode 10 | 2300000: //RootNode 11 | 3300000: //RootNode 12 | 4300000: EndlessDrivingText 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | resampleRotations: 1 21 | optimizeGameObjects: 0 22 | motionNodeName: 23 | animationImportErrors: 24 | animationImportWarnings: 25 | animationRetargetingWarnings: 26 | animationDoRetargetingWarnings: 0 27 | animationCompression: 1 28 | animationRotationError: 0.5 29 | animationPositionError: 0.5 30 | animationScaleError: 0.5 31 | animationWrapMode: 0 32 | extraExposedTransformPaths: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | importBlendShapes: 1 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMeshForGPU: 1 45 | keepQuads: 0 46 | weldVertices: 1 47 | secondaryUVAngleDistortion: 8 48 | secondaryUVAreaDistortion: 15.000001 49 | secondaryUVHardAngle: 88 50 | secondaryUVPackMargin: 4 51 | useFileScale: 1 52 | tangentSpace: 53 | normalSmoothAngle: 60 54 | normalImportMode: 0 55 | tangentImportMode: 3 56 | importAnimation: 1 57 | copyAvatar: 0 58 | humanDescription: 59 | human: [] 60 | skeleton: [] 61 | armTwist: 0.5 62 | foreArmTwist: 0.5 63 | upperLegTwist: 0.5 64 | legTwist: 0.5 65 | armStretch: 0.05 66 | legStretch: 0.05 67 | feetSpacing: 0 68 | rootMotionBoneName: 69 | hasTranslationDoF: 0 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 0 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/ExampleCar.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/ExampleCar.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/ExampleCar.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00046df2e01964c4cbb764131f0c85e1 3 | timeCreated: 1460308602 4 | licenseType: Free 5 | ModelImporter: 6 | serializedVersion: 19 7 | fileIDToRecycleName: 8 | 100000: //RootNode 9 | 400000: //RootNode 10 | 2300000: //RootNode 11 | 3300000: //RootNode 12 | 4300000: ExampleCar 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | resampleRotations: 1 21 | optimizeGameObjects: 0 22 | motionNodeName: 23 | animationImportErrors: 24 | animationImportWarnings: 25 | animationRetargetingWarnings: 26 | animationDoRetargetingWarnings: 0 27 | animationCompression: 1 28 | animationRotationError: 0.5 29 | animationPositionError: 0.5 30 | animationScaleError: 0.5 31 | animationWrapMode: 0 32 | extraExposedTransformPaths: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 250 38 | meshCompression: 0 39 | addColliders: 0 40 | importBlendShapes: 1 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMeshForGPU: 1 45 | keepQuads: 0 46 | weldVertices: 1 47 | secondaryUVAngleDistortion: 8 48 | secondaryUVAreaDistortion: 15.000001 49 | secondaryUVHardAngle: 88 50 | secondaryUVPackMargin: 4 51 | useFileScale: 1 52 | tangentSpace: 53 | normalSmoothAngle: 60 54 | normalImportMode: 0 55 | tangentImportMode: 3 56 | importAnimation: 1 57 | copyAvatar: 0 58 | humanDescription: 59 | human: [] 60 | skeleton: [] 61 | armTwist: 0.5 62 | foreArmTwist: 0.5 63 | upperLegTwist: 0.5 64 | legTwist: 0.5 65 | armStretch: 0.05 66 | legStretch: 0.05 67 | feetSpacing: 0 68 | rootMotionBoneName: 69 | hasTranslationDoF: 0 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 0 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/ExampleFirTree.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/ExampleFirTree.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/ExampleFirTree.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26daae648a43e4db88d0a47a293d545c 3 | timeCreated: 1460373324 4 | licenseType: Free 5 | ModelImporter: 6 | serializedVersion: 19 7 | fileIDToRecycleName: 8 | 100000: Camera 9 | 100002: Cone 10 | 100004: //RootNode 11 | 100006: Lamp 12 | 400000: Camera 13 | 400002: Cone 14 | 400004: //RootNode 15 | 400006: Lamp 16 | 2300000: Cone 17 | 2300002: //RootNode 18 | 3300000: Cone 19 | 3300002: //RootNode 20 | 4300000: Cone 21 | materials: 22 | importMaterials: 1 23 | materialName: 0 24 | materialSearch: 1 25 | animations: 26 | legacyGenerateAnimations: 4 27 | bakeSimulation: 0 28 | resampleRotations: 1 29 | optimizeGameObjects: 0 30 | motionNodeName: 31 | animationImportErrors: 32 | animationImportWarnings: 33 | animationRetargetingWarnings: 34 | animationDoRetargetingWarnings: 0 35 | animationCompression: 1 36 | animationRotationError: 0.5 37 | animationPositionError: 0.5 38 | animationScaleError: 0.5 39 | animationWrapMode: 0 40 | extraExposedTransformPaths: [] 41 | clipAnimations: [] 42 | isReadable: 1 43 | meshes: 44 | lODScreenPercentages: [] 45 | globalScale: 600 46 | meshCompression: 0 47 | addColliders: 0 48 | importBlendShapes: 1 49 | swapUVChannels: 0 50 | generateSecondaryUV: 0 51 | useFileUnits: 1 52 | optimizeMeshForGPU: 1 53 | keepQuads: 0 54 | weldVertices: 1 55 | secondaryUVAngleDistortion: 8 56 | secondaryUVAreaDistortion: 15.000001 57 | secondaryUVHardAngle: 88 58 | secondaryUVPackMargin: 4 59 | useFileScale: 1 60 | tangentSpace: 61 | normalSmoothAngle: 60 62 | normalImportMode: 0 63 | tangentImportMode: 3 64 | importAnimation: 1 65 | copyAvatar: 0 66 | humanDescription: 67 | human: [] 68 | skeleton: [] 69 | armTwist: 0.5 70 | foreArmTwist: 0.5 71 | upperLegTwist: 0.5 72 | legTwist: 0.5 73 | armStretch: 0.05 74 | legStretch: 0.05 75 | feetSpacing: 0 76 | rootMotionBoneName: 77 | hasTranslationDoF: 0 78 | lastHumanDescriptionAvatarSource: {instanceID: 0} 79 | animationType: 0 80 | humanoidOversampling: 1 81 | additionalBone: 0 82 | userData: 83 | assetBundleName: 84 | assetBundleVariant: 85 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Grid.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/Grid.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/Grid.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf8dd6c08e9ac4507bbbd1468b530d48 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Cube 11 | 11100000: //RootNode 12 | materials: 13 | importMaterials: 0 14 | materialName: 0 15 | materialSearch: 1 16 | animations: 17 | legacyGenerateAnimations: 0 18 | bakeSimulation: 0 19 | resampleRotations: 1 20 | optimizeGameObjects: 0 21 | motionNodeName: 22 | animationImportErrors: 23 | animationImportWarnings: 24 | animationRetargetingWarnings: 25 | animationDoRetargetingWarnings: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | clipAnimations: [] 33 | isReadable: 1 34 | meshes: 35 | lODScreenPercentages: [] 36 | globalScale: 40 37 | meshCompression: 0 38 | addColliders: 0 39 | importBlendShapes: 1 40 | swapUVChannels: 0 41 | generateSecondaryUV: 0 42 | useFileUnits: 1 43 | optimizeMeshForGPU: 1 44 | keepQuads: 0 45 | weldVertices: 1 46 | secondaryUVAngleDistortion: 8 47 | secondaryUVAreaDistortion: 15.000001 48 | secondaryUVHardAngle: 88 49 | secondaryUVPackMargin: 4 50 | useFileScale: 0 51 | tangentSpace: 52 | normalSmoothAngle: 60 53 | normalImportMode: 0 54 | tangentImportMode: 4 55 | importAnimation: 1 56 | copyAvatar: 0 57 | humanDescription: 58 | human: [] 59 | skeleton: [] 60 | armTwist: 0.5 61 | foreArmTwist: 0.5 62 | upperLegTwist: 0.5 63 | legTwist: 0.5 64 | armStretch: 0.05 65 | legStretch: 0.05 66 | feetSpacing: 0 67 | rootMotionBoneName: 68 | hasTranslationDoF: 0 69 | lastHumanDescriptionAvatarSource: {instanceID: 0} 70 | animationType: 1 71 | humanoidOversampling: 1 72 | additionalBone: 0 73 | userData: 74 | assetBundleName: 75 | assetBundleVariant: 76 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/LeanTween-Icon.blend.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/LeanTween-Icon.blend.zip -------------------------------------------------------------------------------- /Samples~/Examples/Models/LeanTween-Icon.blend.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fb081ef63f8c4c92a76f0b593f7abb0 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/LeanTween-Icon.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fc4240da91ab4747a411a8313faed53 3 | ModelImporter: 4 | fileIDToRecycleName: 5 | 4300000: LCharacter 6 | 4300002: eanTween 7 | 7400000: Default Take //// LeanTween-Icon 8 | serializedVersion: 10 9 | materials: 10 | importMaterials: 1 11 | materialName: 0 12 | materialSearch: 1 13 | animations: 14 | generateAnimations: 0 15 | bakeSimulation: 0 16 | splitAnimations: 0 17 | animationCompression: 1 18 | animationRotationError: .5 19 | animationPositionError: .5 20 | animationScaleError: .5 21 | animationWrapMode: 0 22 | clipAnimations: [] 23 | meshes: 24 | lODScreenPercentages: [] 25 | globalScale: 1 26 | meshCompression: 0 27 | addColliders: 0 28 | swapUVChannels: 0 29 | generateSecondaryUV: 0 30 | useFileUnits: 1 31 | optimizeMesh: 0 32 | secondaryUVAngleDistortion: 8 33 | secondaryUVAreaDistortion: 15.000001 34 | secondaryUVHardAngle: 88 35 | secondaryUVPackMargin: 4 36 | tangentSpace: 37 | normalSmoothAngle: 60 38 | splitTangentsAcrossUV: 1 39 | normalImportMode: 1 40 | tangentImportMode: 1 41 | textMetaNamesToFileIDs: 42 | //RootNode: 43 | data: 44 | first: 1 45 | second: a2860100 46 | data: 47 | first: 4 48 | second: 821a0600 49 | data: 50 | first: 111 51 | second: 605fa900 52 | LCharacter: 53 | data: 54 | first: 1 55 | second: a0860100 56 | data: 57 | first: 4 58 | second: 801a0600 59 | data: 60 | first: 23 61 | second: 60182300 62 | data: 63 | first: 33 64 | second: a05a3200 65 | eanTween: 66 | data: 67 | first: 1 68 | second: a4860100 69 | data: 70 | first: 4 71 | second: 841a0600 72 | data: 73 | first: 23 74 | second: 62182300 75 | data: 76 | first: 33 77 | second: a25a3200 78 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/LeanTween.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6cb897ad03b148b0b891659e4337604 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/LeanTweenHD-Icon.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/LeanTweenHD-Icon.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/LeanTweenHD-Icon.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d6f6aee277594029851a7cc81d550d5 3 | ModelImporter: 4 | fileIDToRecycleName: 5 | 4300000: Plane.003 6 | 4300002: Plane.002 7 | 4300004: Circle.010 8 | 4300006: Cylinder.006 9 | 4300008: Circle.008 10 | 4300010: Circle.007 11 | 4300012: Cylinder.005 12 | 4300014: Cylinder.004 13 | 4300016: Cylinder.003 14 | 4300018: Plane.001 15 | 4300020: Circle.006 16 | 4300022: Cube 17 | 4300024: Cube.002 18 | 4300026: Plane 19 | 4300028: Lean 20 | 4300030: Tween 21 | serializedVersion: 10 22 | materials: 23 | importMaterials: 0 24 | materialName: 0 25 | materialSearch: 1 26 | animations: 27 | generateAnimations: 0 28 | bakeSimulation: 0 29 | splitAnimations: 1 30 | animationCompression: 1 31 | animationRotationError: .5 32 | animationPositionError: .5 33 | animationScaleError: .5 34 | animationWrapMode: 0 35 | clipAnimations: [] 36 | meshes: 37 | lODScreenPercentages: [] 38 | globalScale: 1 39 | meshCompression: 0 40 | addColliders: 0 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMesh: 0 45 | secondaryUVAngleDistortion: 8 46 | secondaryUVAreaDistortion: 15.000001 47 | secondaryUVHardAngle: 88 48 | secondaryUVPackMargin: 4 49 | tangentSpace: 50 | normalSmoothAngle: 4 51 | splitTangentsAcrossUV: 1 52 | normalImportMode: 1 53 | tangentImportMode: 1 54 | textMetaNamesToFileIDs: 55 | //RootNode: 56 | data: 57 | first: 1 58 | second: a2860100 59 | data: 60 | first: 4 61 | second: 821a0600 62 | data: 63 | first: 111 64 | second: 605fa900 65 | Lean: 66 | data: 67 | first: 1 68 | second: a4860100 69 | data: 70 | first: 4 71 | second: 841a0600 72 | data: 73 | first: 23 74 | second: 62182300 75 | data: 76 | first: 33 77 | second: a25a3200 78 | Tween: 79 | data: 80 | first: 1 81 | second: a0860100 82 | data: 83 | first: 4 84 | second: 801a0600 85 | data: 86 | first: 23 87 | second: 60182300 88 | data: 89 | first: 33 90 | second: a05a3200 91 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f652ae6214c614941a0954f4ad56666e 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/LMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LMaterial 11 | m_Shader: {fileID: 30, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 1, g: 0.9254902, b: 0.14509805, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/LMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02a8bb137b3dc465e834a60da68b0faa 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/LineMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LineMaterial 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 1, g: 0, b: 0.9020982, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/LineMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf41397dc908943a38769b3d61f3877a 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/Material.001.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Material.001 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/Material.001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee920b9374bc046b4a8b04eec2888d20 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/Material.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Material 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af31d53076fd745faa5f05dae96c15c3 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/Material_001.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Material_001 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/Material_001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9041dec3e4f243ad92eacfec2f65378 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/No Name.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: No Name 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0, g: 1, b: 0.25517225, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/No Name.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 221234e77532a4e3b96e5cce2b41b771 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarAlphaBlue.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SimpleAvatarAlphaBlue 11 | m_Shader: {fileID: 30, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _Cutoff: 0.5 32 | m_Colors: 33 | - _Color: {r: 0, g: 0.49019623, b: 1, a: 1} 34 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarAlphaBlue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39a7c2c726d36466a82bb11886f760e1 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarBlue.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SimpleAvatarBlue 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0, g: 0.49019623, b: 1, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarBlue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e86c6ee57cd4c400ea5852025bc7b7c3 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarHat.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SimpleAvatarHat 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _Cutoff: 0.5 32 | - _InvFade: 1 33 | - _Shininess: 0.078125 34 | m_Colors: 35 | - _Color: {r: 0.1510764, g: 1, b: 0.14509803, a: 1} 36 | - _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 0} 37 | - _TintColor: {r: 1, g: 1, b: 1, a: 0.5019608} 38 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarHat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 894fe1d86fb5943f6a486e218bba2072 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarMat.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SimpleAvatarMat 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 0, g: 1, b: 0, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5732f0a6e68964f3eb5c3ebb94242055 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarSpace.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SimpleAvatarSpace 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.835 65 | - _GlossyReflections: 1 66 | - _Metallic: 0.698 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0, g: 0.49019623, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SimpleAvatarSpace.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9682c3da6d5384d098160b19ba3e02c5 3 | timeCreated: 1535222988 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SubTitleText.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: SubTitleText 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: [] 27 | m_Colors: 28 | - _Color: {r: 1, g: 0.95491076, b: 0.19402987, a: 1} 29 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/SubTitleText.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33b82a22301d648c5afa1a682a259e5d 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/eanTween.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: eanTween 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DecalTex: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _Detail: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MainTex: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | m_Floats: 39 | - _Cutoff: 0.5 40 | - _InvFade: 1 41 | - _Shininess: 0.078125 42 | m_Colors: 43 | - _Color: {r: 1, g: 0.9254902, b: 0.14509805, a: 1} 44 | - _Emission: {r: 0, g: 0, b: 0, a: 0} 45 | - _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 0} 46 | - _TintColor: {r: 1, g: 1, b: 1, a: 0.5019608} 47 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/Materials/eanTween.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f619dcfcfb4564405b5fe5ea207c9199 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/SimpleAvatar.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/SimpleAvatar.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Models/SimpleAvatar.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8c942998fe7e4845bed23e105bd031f 3 | ModelImporter: 4 | fileIDToRecycleName: 5 | 4300000: SimpleAvatarHat 6 | 4300002: SimpleAvatarBody 7 | 7400000: Default Take //// SimpleAvatar 8 | serializedVersion: 10 9 | materials: 10 | importMaterials: 1 11 | materialName: 0 12 | materialSearch: 1 13 | animations: 14 | generateAnimations: 3 15 | bakeSimulation: 0 16 | splitAnimations: 1 17 | animationCompression: 1 18 | animationRotationError: .5 19 | animationPositionError: .5 20 | animationScaleError: .5 21 | animationWrapMode: 0 22 | clipAnimations: [] 23 | meshes: 24 | lODScreenPercentages: [] 25 | globalScale: 1 26 | meshCompression: 0 27 | addColliders: 0 28 | swapUVChannels: 1 29 | generateSecondaryUV: 0 30 | useFileUnits: 1 31 | optimizeMesh: 0 32 | secondaryUVAngleDistortion: 8 33 | secondaryUVAreaDistortion: 15.000001 34 | secondaryUVHardAngle: 88 35 | secondaryUVPackMargin: 4 36 | tangentSpace: 37 | normalSmoothAngle: 60 38 | splitTangentsAcrossUV: 1 39 | normalImportMode: 1 40 | tangentImportMode: 1 41 | textMetaNamesToFileIDs: 42 | //RootNode: 43 | data: 44 | first: 1 45 | second: a6860100 46 | data: 47 | first: 4 48 | second: 861a0600 49 | data: 50 | first: 23 51 | second: 60182300 52 | data: 53 | first: 33 54 | second: a05a3200 55 | data: 56 | first: 111 57 | second: 605fa900 58 | -------------------------------------------------------------------------------- /Samples~/Examples/Models/SimpleAvatarPieces.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Models/SimpleAvatarPieces.fbx -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e27dc266d79d248949ea519da436426c 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/Avatar2dParticles.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d50011a464d5f44ccbfefb117020e5cb 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarAlpha.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f033a1cc164a48d99c0ccbd9425d153 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarDiffuse 1.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &1676641367725984 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 4946554663018168} 12 | - component: {fileID: 33862694317263916} 13 | - component: {fileID: 23261135838984090} 14 | m_Layer: 0 15 | m_Name: AvatarDiffuse 1 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &4946554663018168 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 1676641367725984} 28 | m_LocalRotation: {x: -0.000000061513575, y: 0.92598206, z: 0.37756762, w: -0.00000015086164} 29 | m_LocalPosition: {x: -142, y: -3, z: 201} 30 | m_LocalScale: {x: 10, y: 10, z: 10} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!33 &33862694317263916 36 | MeshFilter: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 1676641367725984} 42 | m_Mesh: {fileID: 4300002, guid: c8c942998fe7e4845bed23e105bd031f, type: 3} 43 | --- !u!23 &23261135838984090 44 | MeshRenderer: 45 | m_ObjectHideFlags: 0 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInstance: {fileID: 0} 48 | m_PrefabAsset: {fileID: 0} 49 | m_GameObject: {fileID: 1676641367725984} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_MotionVectors: 1 55 | m_LightProbeUsage: 0 56 | m_ReflectionProbeUsage: 1 57 | m_RayTracingMode: 2 58 | m_RenderingLayerMask: 1 59 | m_RendererPriority: 0 60 | m_Materials: 61 | - {fileID: 2100000, guid: e86c6ee57cd4c400ea5852025bc7b7c3, type: 2} 62 | m_StaticBatchInfo: 63 | firstSubMesh: 0 64 | subMeshCount: 0 65 | m_StaticBatchRoot: {fileID: 0} 66 | m_ProbeAnchor: {fileID: 0} 67 | m_LightProbeVolumeOverride: {fileID: 0} 68 | m_ScaleInLightmap: 1 69 | m_ReceiveGI: 1 70 | m_PreserveUVs: 0 71 | m_IgnoreNormalsForChartDetection: 0 72 | m_ImportantGI: 0 73 | m_StitchLightmapSeams: 0 74 | m_SelectedEditorRenderState: 3 75 | m_MinimumChartSize: 4 76 | m_AutoUVMaxDistance: 0.5 77 | m_AutoUVMaxAngle: 89 78 | m_LightmapParameters: {fileID: 0} 79 | m_SortingLayerID: 0 80 | m_SortingLayer: 0 81 | m_SortingOrder: 0 82 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarDiffuse 1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 672fd62036f744e79b75297e492c996e 3 | timeCreated: 1539547676 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarDiffuse.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 400000} 12 | - component: {fileID: 3300000} 13 | - component: {fileID: 2300000} 14 | m_Layer: 0 15 | m_Name: AvatarDiffuse 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &400000 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 100000} 28 | m_LocalRotation: {x: 0, y: 1, z: 0, w: -0.00000016292068} 29 | m_LocalPosition: {x: -1.5693321, y: -1.5377058, z: 6.020027} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!33 &3300000 36 | MeshFilter: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 100000} 42 | m_Mesh: {fileID: 4300002, guid: c8c942998fe7e4845bed23e105bd031f, type: 3} 43 | --- !u!23 &2300000 44 | MeshRenderer: 45 | m_ObjectHideFlags: 0 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInstance: {fileID: 0} 48 | m_PrefabAsset: {fileID: 0} 49 | m_GameObject: {fileID: 100000} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_MotionVectors: 1 55 | m_LightProbeUsage: 0 56 | m_ReflectionProbeUsage: 1 57 | m_RayTracingMode: 2 58 | m_RenderingLayerMask: 1 59 | m_RendererPriority: 0 60 | m_Materials: 61 | - {fileID: 2100000, guid: e86c6ee57cd4c400ea5852025bc7b7c3, type: 2} 62 | m_StaticBatchInfo: 63 | firstSubMesh: 0 64 | subMeshCount: 0 65 | m_StaticBatchRoot: {fileID: 0} 66 | m_ProbeAnchor: {fileID: 0} 67 | m_LightProbeVolumeOverride: {fileID: 0} 68 | m_ScaleInLightmap: 1 69 | m_ReceiveGI: 1 70 | m_PreserveUVs: 0 71 | m_IgnoreNormalsForChartDetection: 0 72 | m_ImportantGI: 0 73 | m_StitchLightmapSeams: 1 74 | m_SelectedEditorRenderState: 3 75 | m_MinimumChartSize: 4 76 | m_AutoUVMaxDistance: 0.5 77 | m_AutoUVMaxAngle: 89 78 | m_LightmapParameters: {fileID: 0} 79 | m_SortingLayerID: 0 80 | m_SortingLayer: 0 81 | m_SortingOrder: 0 82 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarDiffuse.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 992f36b41308f41f1bc39908c2c27dda 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarEventsCS.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c9c5d81a80e84e90af37f2113c12b2d 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarSpace.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e02878730c48147bb9fc414aabee207b 3 | timeCreated: 1535222974 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/AvatarSparkles.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b796b489cc4c447c91c00d4136b0e54 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/BasicExamplesText.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b4ce6f9ebfb948a58b5b05397daaaea 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/DustCloud.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &1572301175561318 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 4643861695631766} 12 | - component: {fileID: 212787717729124966} 13 | m_Layer: 0 14 | m_Name: DustCloud 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!4 &4643861695631766 21 | Transform: 22 | m_ObjectHideFlags: 0 23 | m_CorrespondingSourceObject: {fileID: 0} 24 | m_PrefabInstance: {fileID: 0} 25 | m_PrefabAsset: {fileID: 0} 26 | m_GameObject: {fileID: 1572301175561318} 27 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 | m_LocalPosition: {x: -1.08, y: 5.91, z: -8.2} 29 | m_LocalScale: {x: 0.37747163, y: 0.37747163, z: 0.37747163} 30 | m_Children: [] 31 | m_Father: {fileID: 0} 32 | m_RootOrder: 0 33 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 34 | --- !u!212 &212787717729124966 35 | SpriteRenderer: 36 | m_ObjectHideFlags: 0 37 | m_CorrespondingSourceObject: {fileID: 0} 38 | m_PrefabInstance: {fileID: 0} 39 | m_PrefabAsset: {fileID: 0} 40 | m_GameObject: {fileID: 1572301175561318} 41 | m_Enabled: 1 42 | m_CastShadows: 0 43 | m_ReceiveShadows: 0 44 | m_DynamicOccludee: 1 45 | m_MotionVectors: 1 46 | m_LightProbeUsage: 0 47 | m_ReflectionProbeUsage: 0 48 | m_RayTracingMode: 0 49 | m_RenderingLayerMask: 1 50 | m_RendererPriority: 0 51 | m_Materials: 52 | - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} 53 | m_StaticBatchInfo: 54 | firstSubMesh: 0 55 | subMeshCount: 0 56 | m_StaticBatchRoot: {fileID: 0} 57 | m_ProbeAnchor: {fileID: 0} 58 | m_LightProbeVolumeOverride: {fileID: 0} 59 | m_ScaleInLightmap: 1 60 | m_ReceiveGI: 1 61 | m_PreserveUVs: 0 62 | m_IgnoreNormalsForChartDetection: 0 63 | m_ImportantGI: 0 64 | m_StitchLightmapSeams: 1 65 | m_SelectedEditorRenderState: 0 66 | m_MinimumChartSize: 4 67 | m_AutoUVMaxDistance: 0.5 68 | m_AutoUVMaxAngle: 89 69 | m_LightmapParameters: {fileID: 0} 70 | m_SortingLayerID: 0 71 | m_SortingLayer: 0 72 | m_SortingOrder: 0 73 | m_Sprite: {fileID: 21300000, guid: c4c548a339b4d41a590928c0c98934a7, type: 3} 74 | m_Color: {r: 1, g: 1, b: 1, a: 1} 75 | m_FlipX: 0 76 | m_FlipY: 0 77 | m_DrawMode: 0 78 | m_Size: {x: 1, y: 1} 79 | m_AdaptiveModeThreshold: 0.5 80 | m_SpriteTileMode: 0 81 | m_WasSpriteAssigned: 1 82 | m_MaskInteraction: 0 83 | m_SpriteSortPoint: 0 84 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/DustCloud.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a6e1cb160a414c6cbe7d27b34d381a1 3 | timeCreated: 1488749437 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/EndlessPiece.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c73e0cec0a374576a4b47fbb49921d5 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/GridLine.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 400000} 12 | - component: {fileID: 3300000} 13 | - component: {fileID: 2300000} 14 | m_Layer: 0 15 | m_Name: GridLine 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &400000 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 100000} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: -0.000014424324, z: 20} 30 | m_LocalScale: {x: 0.04, y: 887.5876, z: 0.04} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!33 &3300000 36 | MeshFilter: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 100000} 42 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 43 | --- !u!23 &2300000 44 | MeshRenderer: 45 | m_ObjectHideFlags: 0 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInstance: {fileID: 0} 48 | m_PrefabAsset: {fileID: 0} 49 | m_GameObject: {fileID: 100000} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_MotionVectors: 1 55 | m_LightProbeUsage: 0 56 | m_ReflectionProbeUsage: 1 57 | m_RayTracingMode: 2 58 | m_RenderingLayerMask: 1 59 | m_RendererPriority: 0 60 | m_Materials: 61 | - {fileID: 2100000, guid: 9a06e258e3bf640e885048b32fdf51b7, type: 2} 62 | m_StaticBatchInfo: 63 | firstSubMesh: 0 64 | subMeshCount: 0 65 | m_StaticBatchRoot: {fileID: 0} 66 | m_ProbeAnchor: {fileID: 0} 67 | m_LightProbeVolumeOverride: {fileID: 0} 68 | m_ScaleInLightmap: 1 69 | m_ReceiveGI: 1 70 | m_PreserveUVs: 0 71 | m_IgnoreNormalsForChartDetection: 0 72 | m_ImportantGI: 0 73 | m_StitchLightmapSeams: 1 74 | m_SelectedEditorRenderState: 3 75 | m_MinimumChartSize: 4 76 | m_AutoUVMaxDistance: 0.5 77 | m_AutoUVMaxAngle: 89 78 | m_LightmapParameters: {fileID: 0} 79 | m_SortingLayerID: 0 80 | m_SortingLayer: 0 81 | m_SortingOrder: 0 82 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/GridLine.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d9158a373e64481db63423af851bdc9 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Prefabs/Grids.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a9d822b319924ae7a120c7f2ba0b067 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91c0707acdbf242e19dc1de4ada750e5 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/Following.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae5e9d334639a484786a9badbf5b387a 3 | timeCreated: 1535208261 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralAdvancedTechniques.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed31b9589883b4d19a6bc0f50d57edec 3 | timeCreated: 1461066353 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralBasic.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 733435822951d4505bbf44759df1613d 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralBasics2d.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db7afcf97d5f646b9986f7e84ca1ac68 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralCameraShake.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a99971c1311c6405d8d2897f3f42ad32 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralEasingTypes.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 721616f4ed65645df9e1919c91909eb8 3 | timeCreated: 1471870210 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralEvents.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e603302e334b4bd0bef351e0f1e050c 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralSequencer.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28ab900ace00b47e39ad8fef65f3170a 3 | timeCreated: 1488722111 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralSimpleUi.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7534096fc06e2452687df015b87d7cfa 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/GeneralUISpace.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 698925ae1198741f09200bbe0cbbff86 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/LogoCinematic.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68ea271dda32c4c209e4419b091b2288 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathBezier.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 173c35c3d8996463384732672075da90 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathBezier2d.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 363f43ea320c54cd7ade42f54f59c232 3 | timeCreated: 1493585933 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathSpline2d.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5daea63c1cc14d709cb8f5dc7d19173 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathSplineEndless.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a7ce2e628c14472a9fb2af42917d270 3 | timeCreated: 1460314600 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathSplinePerformance.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 924b0d7269de44f8398015b04e7ba081 3 | timeCreated: 1460893840 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathSplineTrack.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e3bee443b13540cc845f5476188d8b1 3 | timeCreated: 1460208221 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/PathSplines.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7851b12d34d54ef0bc16d6d34318d75 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/TestingUnitTests.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22e1e363584e94ef6a9661ede1f4e358 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/TestingZLegacy.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d3c1732ee5ca4e86bf2497c4404c656 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scenes/TestingZLegacyExt.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0bd7a031b280f4530b42f2591cf98025 3 | timeCreated: 1533844429 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd3a10f67e2b7486caaf1ac6b519b3ae 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/Archive.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Scripts/Archive.zip -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/Archive.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 950dff8c2dd5346409806b627ff3691f 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/Following.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e619db3c84234f098b8636588c25e4f 3 | timeCreated: 1535223435 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralAdvancedTechniques.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4fce1b486cc240c4825b3bfd794e9e0 3 | timeCreated: 1461150844 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralBasic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2605544ab2e14c93a780ca20c108cfe 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralBasics2d.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b39dd70d168b4cbea9a7b8561d9accc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralCameraShake.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a650682fa3d54a57a2521dbf9f6eac2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralEasingTypes.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Reflection; 4 | using DentedPixel; 5 | 6 | public class GeneralEasingTypes : MonoBehaviour { 7 | 8 | public float lineDrawScale = 10f; 9 | public AnimationCurve animationCurve; 10 | 11 | private string[] easeTypes = new string[]{ 12 | "EaseLinear","EaseAnimationCurve","EaseSpring", 13 | "EaseInQuad","EaseOutQuad","EaseInOutQuad", 14 | "EaseInCubic","EaseOutCubic","EaseInOutCubic", 15 | "EaseInQuart","EaseOutQuart","EaseInOutQuart", 16 | "EaseInQuint","EaseOutQuint","EaseInOutQuint", 17 | "EaseInSine","EaseOutSine","EaseInOutSine", 18 | "EaseInExpo","EaseOutExpo","EaseInOutExpo", 19 | "EaseInCirc","EaseOutCirc","EaseInOutCirc", 20 | "EaseInBounce","EaseOutBounce","EaseInOutBounce", 21 | "EaseInBack","EaseOutBack","EaseInOutBack", 22 | "EaseInElastic","EaseOutElastic","EaseInOutElastic", 23 | "EasePunch","EaseShake", 24 | }; 25 | 26 | void Start () { 27 | 28 | demoEaseTypes(); 29 | } 30 | 31 | private void demoEaseTypes(){ 32 | for(int i = 0; i < easeTypes.Length; i++){ 33 | string easeName = easeTypes[i]; 34 | Transform obj1 = GameObject.Find(easeName).transform.Find("Line"); 35 | float obj1val = 0f; 36 | LTDescr lt = LeanTween.value( obj1.gameObject, 0f, 1f, 5f).setOnUpdate( (float val)=>{ 37 | Vector3 vec = obj1.localPosition; 38 | vec.x = obj1val*lineDrawScale; 39 | vec.y = val*lineDrawScale; 40 | 41 | obj1.localPosition = vec; 42 | 43 | obj1val += Time.deltaTime/5f; 44 | if(obj1val>1f) 45 | obj1val = 0f; 46 | }); 47 | if(easeName.IndexOf("AnimationCurve")>=0){ 48 | lt.setEase(animationCurve); 49 | }else{ 50 | MethodInfo theMethod = lt.GetType().GetMethod("set"+easeName); 51 | theMethod.Invoke(lt, null); 52 | } 53 | 54 | if (easeName.IndexOf("EasePunch") >= 0) { 55 | lt.setScale(1f); 56 | } else if (easeName.IndexOf("EaseOutBounce") >= 0) { 57 | lt.setOvershoot(2f); 58 | } 59 | } 60 | 61 | LeanTween.delayedCall(gameObject, 10f, resetLines); 62 | LeanTween.delayedCall(gameObject, 10.1f, demoEaseTypes); 63 | } 64 | 65 | private void resetLines(){ 66 | for(int i = 0; i < easeTypes.Length; i++){ 67 | Transform obj1 = GameObject.Find(easeTypes[i]).transform.Find("Line"); 68 | obj1.localPosition = new Vector3(0f,0f,0f); 69 | } 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralEasingTypes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94e9a883a33cd40b9be1a63f002c4db2 3 | timeCreated: 1471950328 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralEventsListeners.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd679d4fbbd8d475ba7187561370c3aa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralSequencer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class GeneralSequencer : MonoBehaviour { 6 | 7 | public GameObject avatar1; 8 | 9 | public GameObject star; 10 | 11 | public GameObject dustCloudPrefab; 12 | 13 | public float speedScale = 1f; 14 | 15 | public void Start(){ 16 | 17 | // Jump up 18 | var seq = LeanTween.sequence(); 19 | 20 | 21 | seq.append( LeanTween.moveY( avatar1, avatar1.transform.localPosition.y + 6f, 1f).setEaseOutQuad() ); 22 | 23 | // Power up star, use insert when you want to branch off from the regular sequence (this does not push back the delay of other subsequent tweens) 24 | seq.insert( LeanTween.alpha(star, 0f, 1f) ); 25 | seq.insert( LeanTween.scale( star, Vector3.one * 3f, 1f) ); 26 | 27 | // Rotate 360 28 | seq.append( LeanTween.rotateAround( avatar1, Vector3.forward, 360f, 0.6f ).setEaseInBack() ); 29 | 30 | // Return to ground 31 | seq.append( LeanTween.moveY( avatar1, avatar1.transform.localPosition.y, 1f).setEaseInQuad() ); 32 | 33 | // Kick off spiraling clouds - Example of appending a callback method 34 | seq.append(() => { 35 | for(int i = 0; i < 50f; i++){ 36 | GameObject cloud = Instantiate(dustCloudPrefab) as GameObject; 37 | cloud.transform.parent = avatar1.transform; 38 | cloud.transform.localPosition = new Vector3(Random.Range(-2f,2f),0f,0f); 39 | cloud.transform.eulerAngles = new Vector3(0f,0f,Random.Range(0,360f)); 40 | 41 | var range = new Vector3(cloud.transform.localPosition.x, Random.Range(2f,4f), Random.Range(-10f,10f)); 42 | 43 | // Tweens not in a sequence, because we want them all to animate at the same time 44 | LeanTween.moveLocal(cloud, range, 3f*speedScale).setEaseOutCirc(); 45 | LeanTween.rotateAround(cloud, Vector3.forward, 360f*2, 3f*speedScale).setEaseOutCirc(); 46 | LeanTween.alpha(cloud, 0f, 3f*speedScale).setEaseOutCirc().setDestroyOnComplete(true); 47 | } 48 | }); 49 | 50 | // You can speed up or slow down the sequence of events 51 | seq.setScale(speedScale); 52 | 53 | // seq.reverse(); // not working yet 54 | 55 | // Testing canceling sequence after a bit of time 56 | //LeanTween.delayedCall(3f, () => 57 | //{ 58 | // LeanTween.cancel(seq.id); 59 | //}); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralSequencer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b54bce4a9ed14e28a4a423c794a2d70 3 | timeCreated: 1488722358 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralSimpleUI.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class GeneralSimpleUI : MonoBehaviour { 6 | #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_0_1 && !UNITY_4_1 && !UNITY_4_2 && !UNITY_4_3 && !UNITY_4_5 7 | 8 | public RectTransform button; 9 | 10 | void Start () { 11 | Debug.Log("For better examples see the 4.6_Examples folder!"); 12 | if(button==null){ 13 | Debug.LogError("Button not assigned! Create a new button via Hierarchy->Create->UI->Button. Then assign it to the button variable"); 14 | return; 15 | } 16 | 17 | // Tweening various values in a block callback style 18 | LeanTween.value(button.gameObject, button.anchoredPosition, new Vector2(200f,100f), 1f ).setOnUpdate( 19 | (Vector2 val)=>{ 20 | button.anchoredPosition = val; 21 | } 22 | ); 23 | 24 | LeanTween.value(gameObject, 1f, 0.5f, 1f ).setOnUpdate( 25 | (float volume)=>{ 26 | Debug.Log("volume:"+volume); 27 | } 28 | ); 29 | 30 | LeanTween.value(gameObject, gameObject.transform.position, gameObject.transform.position + new Vector3(0,1f,0), 1f ).setOnUpdate( 31 | (Vector3 val)=>{ 32 | gameObject.transform.position = val; 33 | } 34 | ); 35 | 36 | LeanTween.value(gameObject, Color.red, Color.green, 1f ).setOnUpdate( 37 | (Color val)=>{ 38 | UnityEngine.UI.Image image = (UnityEngine.UI.Image)button.gameObject.GetComponent( typeof(UnityEngine.UI.Image) ); 39 | image.color = val; 40 | } 41 | ); 42 | 43 | // Tweening Using Unity's new Canvas GUI System 44 | LeanTween.move(button, new Vector3(200f,-100f,0f), 1f).setDelay(1f); 45 | LeanTween.rotateAround(button, Vector3.forward, 90f, 1f).setDelay(2f); 46 | LeanTween.scale(button, button.localScale*2f, 1f).setDelay(3f); 47 | LeanTween.rotateAround(button, Vector3.forward, -90f, 1f).setDelay(4f).setEase(LeanTweenType.easeInOutElastic); 48 | } 49 | 50 | #else 51 | void Start(){ 52 | Debug.LogError("Unity 4.6+ is required to use the new UI"); 53 | } 54 | 55 | #endif 56 | } 57 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralSimpleUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19c352f230e8b46f08abbbd7cc11edb8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/GeneralUISpace.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc2ddccee016148b189d987f564ee08e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/LogoCinematic.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using DentedPixel; 5 | 6 | public class LogoCinematic : MonoBehaviour { 7 | 8 | public GameObject lean; 9 | 10 | public GameObject tween; 11 | 12 | void Awake(){ 13 | 14 | } 15 | 16 | 17 | void Start () { 18 | //Time.timeScale = 0.2f; 19 | 20 | // Slide in 21 | tween.transform.localPosition += -Vector3.right * 15f; 22 | LeanTween.moveLocalX(tween, tween.transform.localPosition.x+15f, 0.4f).setEase(LeanTweenType.linear).setDelay(0f).setOnComplete( playBoom ); 23 | 24 | // Drop Down tween down 25 | tween.transform.RotateAround(tween.transform.position, Vector3.forward, -30f); 26 | LeanTween.rotateAround(tween, Vector3.forward, 30f, 0.4f).setEase(LeanTweenType.easeInQuad).setDelay(0.4f).setOnComplete( playBoom ); 27 | 28 | // Drop Lean In 29 | lean.transform.position += Vector3.up * 5.1f; 30 | LeanTween.moveY(lean, lean.transform.position.y-5.1f, 0.6f).setEase(LeanTweenType.easeInQuad).setDelay(0.6f).setOnComplete( playBoom ); 31 | } 32 | 33 | void playBoom(){ 34 | // Make your own Dynamic Audio at http://leanaudioplay.dentedpixel.com 35 | 36 | AnimationCurve volumeCurve = new AnimationCurve( new Keyframe(0f, 1.163155f, 0f, -1f), new Keyframe(0.3098361f, 0f, 0f, 0f), new Keyframe(0.5f, 0.003524712f, 0f, 0f)); 37 | AnimationCurve frequencyCurve = new AnimationCurve( new Keyframe(0.000819672f, 0.007666667f, 0f, 0f), new Keyframe(0.01065573f, 0.002424242f, 0f, 0f), new Keyframe(0.02704918f, 0.007454545f, 0f, 0f), new Keyframe(0.03770492f, 0.002575758f, 0f, 0f), new Keyframe(0.052459f, 0.007090909f, 0f, 0f), new Keyframe(0.06885245f, 0.002939394f, 0f, 0f), new Keyframe(0.0819672f, 0.006727273f, 0f, 0f), new Keyframe(0.1040983f, 0.003181818f, 0f, 0f), new Keyframe(0.1188525f, 0.006212121f, 0f, 0f), new Keyframe(0.145082f, 0.004151515f, 0f, 0f), new Keyframe(0.1893443f, 0.005636364f, 0f, 0f)); 38 | 39 | AudioClip audioClip = LeanAudio.createAudio(volumeCurve, frequencyCurve, LeanAudio.options().setVibrato( new Vector3[]{ new Vector3(0.1f,0f,0f)} ).setFrequency(11025)); 40 | 41 | LeanAudio.play( audioClip ); //a:fvb:8,.000819672,.007666667,,,.01065573,.002424242,,,.02704918,.007454545,,,.03770492,.002575758,,,.052459,.007090909,,,.06885245,.002939394,,,.0819672,.006727273,,,.1040983,.003181818,,,.1188525,.006212121,,,.145082,.004151515,,,.1893443,.005636364,,,8~8,,1.163155,,-,.3098361,,,,.5,.003524712,,,8~.1,,,~11025~0~~ 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/LogoCinematic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 674f3c10d8880408e875a9e6c3ee83bb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathBezier.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | namespace DentedPixel.LTExamples{ 6 | 7 | public class PathBezier : MonoBehaviour { 8 | 9 | public Transform[] trans; 10 | 11 | LTBezierPath cr; 12 | private GameObject avatar1; 13 | 14 | void OnEnable(){ 15 | // create the path 16 | cr = new LTBezierPath( new Vector3[] {trans[0].position, trans[2].position, trans[1].position, trans[3].position, trans[3].position, trans[5].position, trans[4].position, trans[6].position} ); 17 | } 18 | 19 | void Start () { 20 | avatar1 = GameObject.Find("Avatar1"); 21 | 22 | // Tween automatically 23 | LTDescr descr = LeanTween.move(avatar1, cr.pts, 6.5f).setOrientToPath(true).setRepeat(-1); 24 | Debug.Log("length of path 1:"+cr.length); 25 | Debug.Log("length of path 2:"+descr.optional.path.length); 26 | } 27 | 28 | private float iter; 29 | void Update () { 30 | // Or Update Manually 31 | //cr.place2d( sprite1.transform, iter ); 32 | 33 | iter += Time.deltaTime*0.07f; 34 | if(iter>1.0f) 35 | iter = 0.0f; 36 | } 37 | 38 | void OnDrawGizmos(){ 39 | // Debug.Log("drwaing"); 40 | if(cr!=null) 41 | OnEnable(); 42 | Gizmos.color = Color.red; 43 | if(cr!=null) 44 | cr.gizmoDraw(); // To Visualize the path, use this method 45 | } 46 | } 47 | 48 | } -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathBezier.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac2038ba3961049ed889ae71039982cd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathBezier2d.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class PathBezier2d : MonoBehaviour { 6 | 7 | public Transform[] cubes; 8 | 9 | public GameObject dude1; 10 | public GameObject dude2; 11 | 12 | private LTBezierPath visualizePath; 13 | 14 | void Start () { 15 | // move 16 | Vector3[] path = new Vector3[]{cubes[0].position,cubes[1].position,cubes[2].position,cubes[3].position}; 17 | // 90 degree test 18 | // path = new Vector3[] {new Vector3(7.5f, 0f, 0f), new Vector3(0f, 0f, 2.5f), new Vector3(2.5f, 0f, 0f), new Vector3(0f, 0f, 7.5f)}; 19 | visualizePath = new LTBezierPath(path); 20 | LeanTween.move(dude1, path, 10f).setOrientToPath2d(true); 21 | 22 | // move local 23 | LeanTween.moveLocal(dude2, path, 10f).setOrientToPath2d(true); 24 | } 25 | 26 | void OnDrawGizmos(){ 27 | // Debug.Log("drwaing"); 28 | Gizmos.color = Color.red; 29 | if(visualizePath!=null) 30 | visualizePath.gizmoDraw(); // To Visualize the path, use this method 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathBezier2d.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 873cb511c724a48bd919ce8a18fa882c 3 | timeCreated: 1493586162 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSpline.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class ExampleSpline : MonoBehaviour { 6 | 7 | public Transform[] trans; 8 | 9 | LTSpline spline; 10 | private GameObject ltLogo; 11 | private GameObject ltLogo2; 12 | 13 | void Start () { 14 | spline = new LTSpline( new Vector3[] {trans[0].position, trans[1].position, trans[2].position, trans[3].position, trans[4].position} ); 15 | ltLogo = GameObject.Find("LeanTweenLogo1"); 16 | ltLogo2 = GameObject.Find("LeanTweenLogo2"); 17 | 18 | LeanTween.moveSpline( ltLogo2, spline.pts, 1f).setEase(LeanTweenType.easeInOutQuad).setLoopPingPong().setOrientToPath(true); 19 | 20 | LTDescr zoomInPath_LT = LeanTween.moveSpline(ltLogo2, new Vector3[]{Vector3.zero, Vector3.zero, new Vector3(1,1,1), new Vector3(2,1,1), new Vector3(2,1,1)}, 1.5f); 21 | zoomInPath_LT.setUseEstimatedTime(true); 22 | } 23 | 24 | private float iter; 25 | void Update () { 26 | // Iterating over path 27 | ltLogo.transform.position = spline.point( iter /*(Time.time*1000)%1000 * 1.0 / 1000.0 */); 28 | 29 | iter += Time.deltaTime*0.1f; 30 | if(iter>1.0f) 31 | iter = 0.0f; 32 | } 33 | 34 | void OnDrawGizmos(){ 35 | if(spline!=null) 36 | spline.gizmoDraw(); // debug aid to be able to see the path in the scene inspector 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSpline.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef4235237d8d8413c9d5807cf0a1f77b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSpline2d.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class PathSpline2d : MonoBehaviour { 6 | 7 | public Transform[] cubes; 8 | 9 | public GameObject dude1; 10 | public GameObject dude2; 11 | 12 | private LTSpline visualizePath; 13 | 14 | void Start () { 15 | Vector3[] path = new Vector3[] { 16 | cubes[0].position, 17 | cubes[1].position, 18 | cubes[2].position, 19 | cubes[3].position, 20 | cubes[4].position 21 | }; 22 | 23 | visualizePath = new LTSpline( path ); 24 | // move 25 | LeanTween.moveSpline(dude1, path, 10f).setOrientToPath2d(true).setSpeed(2f); 26 | 27 | // move Local 28 | LeanTween.moveSplineLocal(dude2, path, 10f).setOrientToPath2d(true).setSpeed(2f); 29 | } 30 | 31 | void OnDrawGizmos(){ 32 | Gizmos.color = Color.red; 33 | if(visualizePath!=null) 34 | visualizePath.gizmoDraw(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSpline2d.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15c036b11e3ff486ea685da06fa305f6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSplineEndless.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 784f0e347ee4d4c3b83ca56d6f33f01a 3 | timeCreated: 1460315101 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSplinePerformance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5de62495c8a5d49e6b3ca111f8c7e944 3 | timeCreated: 1460894008 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSplineTrack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31af73f8be2864eda9a3fbb6d0d2a9c7 3 | timeCreated: 1460209336 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSplines.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class PathSplines : MonoBehaviour { 6 | 7 | public Transform[] trans; 8 | 9 | LTSpline cr; 10 | private GameObject avatar1; 11 | 12 | void OnEnable(){ 13 | // create the path 14 | cr = new LTSpline( new Vector3[] {trans[0].position, trans[1].position, trans[2].position, trans[3].position, trans[4].position} ); 15 | // cr = new LTSpline( new Vector3[] {new Vector3(-1f,0f,0f), new Vector3(0f,0f,0f), new Vector3(4f,0f,0f), new Vector3(20f,0f,0f), new Vector3(30f,0f,0f)} ); 16 | } 17 | 18 | void Start () { 19 | avatar1 = GameObject.Find("Avatar1"); 20 | 21 | // Tween automatically 22 | LeanTween.move(avatar1, cr, 6.5f).setOrientToPath(true).setRepeat(1).setOnComplete( ()=>{ 23 | Vector3[] next = new Vector3[] {trans[4].position, trans[3].position, trans[2].position, trans[1].position, trans[0].position}; 24 | LeanTween.moveSpline( avatar1, next, 6.5f); // move it back to the start without an LTSpline 25 | }).setEase(LeanTweenType.easeOutQuad); 26 | } 27 | 28 | private float iter; 29 | void Update () { 30 | // Or Update Manually 31 | // cr.place( avatar1.transform, iter ); 32 | 33 | iter += Time.deltaTime*0.07f; 34 | if(iter>1.0f) 35 | iter = 0.0f; 36 | } 37 | 38 | void OnDrawGizmos(){ 39 | // Debug.Log("drwaing"); 40 | if(cr==null) 41 | OnEnable(); 42 | Gizmos.color = Color.red; 43 | if(cr!=null) 44 | cr.gizmoDraw(); // To Visualize the path, use this method 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/PathSplines.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de0396ae3eef541c190f0e6962090454 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/TestingUnitTests.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fef58bd01146344429d022b95c6af872 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/TestingZLegacy.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed8575995d061498aa84acbaf0b377de 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /Samples~/Examples/Scripts/TestingZLegacyExt.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5a76b5b44fc4416a82391d1ab9ec33d 3 | timeCreated: 1533844515 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Examples/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e39f8f3dc0404757be9a05da7cc9802 3 | -------------------------------------------------------------------------------- /Samples~/Examples/Textures/DefaultParticleReplacement.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Textures/DefaultParticleReplacement.jpg -------------------------------------------------------------------------------- /Samples~/Examples/Textures/DefaultParticleReplacement.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eabba395643bb4e388d633c8d9a4f1e8 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | textureFormat: -1 23 | maxTextureSize: 1024 24 | textureSettings: 25 | filterMode: -1 26 | aniso: -1 27 | mipBias: -1 28 | wrapMode: -1 29 | nPOTScale: 1 30 | lightmap: 0 31 | compressionQuality: 50 32 | textureType: -1 33 | buildTargetSettings: [] 34 | -------------------------------------------------------------------------------- /Samples~/Examples/Textures/Dude2d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Textures/Dude2d.png -------------------------------------------------------------------------------- /Samples~/Examples/Textures/Dude2d.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f7fa9a7940a64e79b5a42d9f661d42c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 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 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 1024 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Samples~/Examples/Textures/DustCloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Textures/DustCloud.png -------------------------------------------------------------------------------- /Samples~/Examples/Textures/HorizontalGradient.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Textures/HorizontalGradient.jpg -------------------------------------------------------------------------------- /Samples~/Examples/Textures/HorizontalGradient.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 547f51a8eea214bd7a5863356fd25619 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | textureFormat: -1 23 | maxTextureSize: 1024 24 | textureSettings: 25 | filterMode: -1 26 | aniso: -1 27 | mipBias: -1 28 | wrapMode: -1 29 | nPOTScale: 1 30 | lightmap: 0 31 | compressionQuality: 50 32 | textureType: -1 33 | buildTargetSettings: [] 34 | -------------------------------------------------------------------------------- /Samples~/Examples/Textures/PowerUpStar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohannesDeml/LeanTween/71df5d87d2cc59aaa9313ecace09dc76e46a491b/Samples~/Examples/Textures/PowerUpStar.png -------------------------------------------------------------------------------- /Samples~/Testing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 479949e66b8ef4e4fb1f25254653d266 3 | folderAsset: yes 4 | timeCreated: 1465060758 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Testing/FollowingTests.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class FollowingTests : MonoBehaviour { 6 | 7 | public Transform followTrans; 8 | 9 | public Transform cube1; 10 | private float cube1VelocityX; 11 | 12 | public Transform cube2; 13 | private float cube2VelocityX; 14 | 15 | public Transform cube3; 16 | private float cube3VelocityX; 17 | 18 | public Transform cube4; 19 | private float cube4VelocityX; 20 | 21 | public Transform cube5; 22 | private float cube5VelocityX; 23 | 24 | public Transform cube6; 25 | private Vector3 cube6Velocity; 26 | 27 | public Transform fly1; 28 | 29 | private void Start(){ 30 | followTrans.gameObject.LeanDelayedCall(3f, moveFollow).setOnStart(moveFollow).setRepeat(-1); 31 | 32 | LeanTween.followDamp(cube6, followTrans, LeanProp.position, 0.6f); 33 | } 34 | 35 | private void moveFollow(){ 36 | followTrans.LeanMove( new Vector3(Random.Range(-50f, 50f), Random.Range(-10f, 10f), 0f), 0f); 37 | } 38 | 39 | void Update() 40 | { 41 | var pos = cube1.position; 42 | pos.x = LeanSmooth.damp(cube1.position.x, followTrans.position.x, ref cube1VelocityX, 1.1f); 43 | cube1.position = pos; 44 | 45 | pos = cube2.position; 46 | pos.x = LeanSmooth.spring(cube2.position.x, followTrans.position.x, ref cube2VelocityX, 1.1f); 47 | cube2.position = pos; 48 | 49 | pos = cube3.position; 50 | pos.x = LeanSmooth.bounceOut(cube3.position.x, followTrans.position.x, ref cube3VelocityX, 1.1f); 51 | cube3.position = pos; 52 | 53 | //pos = cube4.position; 54 | //pos.x = LeanTween.smoothQuint(cube4.position.x, followTrans.position.x, ref cube4VelocityX, 1.1f); 55 | //cube4.position = pos; 56 | 57 | pos = cube5.position; 58 | pos.x = LeanSmooth.linear(cube5.position.x, followTrans.position.x, 10f); 59 | cube5.position = pos; 60 | 61 | 62 | // cube6.position = LeanTween.smoothGravity(cube6.position, followTrans.position, ref cube6Velocity, 1.1f); 63 | 64 | if(LeanTween.isTweening(0)){ 65 | Debug.Log("Tweening"); 66 | } 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /Samples~/Testing/FollowingTests.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a90f780154ffd401a9a868c44269cf15 3 | timeCreated: 1533927105 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Testing/FollowingTests.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e89d6da1c030f4e238f49a56fff94910 3 | timeCreated: 1533926624 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Testing/PerformanceTests.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using DentedPixel; 5 | 6 | public class PerformanceTests : MonoBehaviour { 7 | 8 | public bool debug = false; 9 | 10 | public GameObject bulletPrefab; 11 | 12 | private LeanPool bulletPool = new LeanPool(); 13 | 14 | private Dictionary animIds = new Dictionary(); 15 | 16 | public float shipSpeed = 1f; 17 | private float shipDirectionX = 1f; 18 | 19 | // Use this for initialization 20 | void Start () { 21 | 22 | GameObject[] pool = bulletPool.init(bulletPrefab, 400, null, true); 23 | for (int i = 0; i < pool.Length; i++){ 24 | animIds[pool[i]] = -1; 25 | } 26 | } 27 | 28 | // Update is called once per frame 29 | void Update () { 30 | 31 | // Spray bullets 32 | for (int i = 0; i < 10; i++) 33 | { 34 | GameObject go = bulletPool.retrieve(); 35 | int animId = animIds[go]; 36 | if (animId >= 0){ 37 | if (debug) 38 | Debug.Log("canceling id:" + animId); 39 | 40 | LeanTween.cancel(animId); 41 | } 42 | go.transform.position = transform.position; 43 | 44 | float incr = (float)(5-i) * 0.1f; 45 | Vector3 to = new Vector3(Mathf.Sin(incr) * 180f, 0f, Mathf.Cos(incr) * 180f); 46 | 47 | animIds[go] = LeanTween.move(go, go.transform.position+to, 5f).setOnComplete(() => { 48 | bulletPool.giveup(go); 49 | }).id; 50 | } 51 | 52 | // Move Ship 53 | if(transform.position.x<-20f){ 54 | shipDirectionX = 1f; 55 | }else if (transform.position.x > 20f){ 56 | shipDirectionX = -1f; 57 | } 58 | 59 | var pos = transform.position; 60 | pos.x += shipDirectionX * Time.deltaTime * shipSpeed; 61 | transform.position = pos; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /Samples~/Testing/PerformanceTests.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c66170e446eef4291a14e7ad1ad5cf24 3 | timeCreated: 1533500261 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Testing/PerformanceTests.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2b647bbd8e034971b76756fb286b6c5 3 | timeCreated: 1533500095 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Testing/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93c65bcefa2c54681a32dde3a97bdb70 3 | folderAsset: yes 4 | timeCreated: 1533569107 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Testing/Prefabs/BulletPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1b96c75a173942689678874bc28b06f 3 | timeCreated: 1533569112 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Testing/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0c0e78e7eefe48c4ad9901fb3796278 3 | folderAsset: yes 4 | timeCreated: 1533566576 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Testing/Scripts/LeanPool.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | /** 6 | * A Pooling System for GameObjects 7 | */ 8 | 9 | namespace DentedPixel 10 | { 11 | public class LeanPool : object 12 | { 13 | private GameObject[] array; 14 | 15 | private Queue oldestItems; 16 | 17 | private int retrieveIndex = -1; 18 | 19 | public GameObject[] init(GameObject prefab, int count, Transform parent = null, bool retrieveOldestItems = true) 20 | { 21 | array = new GameObject[count]; 22 | 23 | if (retrieveOldestItems) 24 | oldestItems = new Queue(); 25 | 26 | for (int i = 0; i < array.Length; i++) 27 | { 28 | GameObject go = GameObject.Instantiate(prefab, parent); 29 | go.SetActive(false); 30 | 31 | array[i] = go; 32 | } 33 | 34 | return array; 35 | } 36 | 37 | public void init(GameObject[] array, bool retrieveOldestItems = true){ 38 | this.array = array; 39 | 40 | if (retrieveOldestItems) 41 | oldestItems = new Queue(); 42 | } 43 | 44 | public void giveup(GameObject go) 45 | { 46 | go.SetActive(false); 47 | oldestItems.Enqueue(go); 48 | } 49 | 50 | public GameObject retrieve() 51 | { 52 | for (int i = 0; i < array.Length; i++) 53 | { 54 | retrieveIndex++; 55 | if (retrieveIndex >= array.Length) 56 | retrieveIndex = 0; 57 | 58 | if (array[retrieveIndex].activeSelf == false) 59 | { 60 | GameObject returnObj = array[retrieveIndex]; 61 | returnObj.SetActive(true); 62 | 63 | if (oldestItems != null) 64 | { 65 | oldestItems.Enqueue(returnObj); 66 | } 67 | 68 | return returnObj; 69 | } 70 | } 71 | 72 | if (oldestItems != null) 73 | { 74 | GameObject go = oldestItems.Dequeue(); 75 | oldestItems.Enqueue(go);// put at the end of the queue again 76 | 77 | return go; 78 | } 79 | 80 | return null; 81 | } 82 | } 83 | 84 | } -------------------------------------------------------------------------------- /Samples~/Testing/Scripts/LeanPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d91eaf320032e4b1daa82aad9b7a98c5 3 | timeCreated: 1533566616 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing240.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class Testing240 : MonoBehaviour { 6 | 7 | public GameObject cube1; 8 | public GameObject cube2; 9 | public RectTransform rect1; 10 | 11 | public GameObject sprite2; 12 | 13 | // Use this for initialization 14 | void Start () { 15 | LeanTween.moveY(cube1, cube1.transform.position.y - 15.0f, 10f).setEase(LeanTweenType.easeInQuad).setDestroyOnComplete(false).setOnComplete(()=>{ 16 | Debug.Log("Done"); 17 | }); 18 | 19 | Vector3 before = cube1.transform.position; 20 | LeanTween.rotateAround(cube1, Vector3.forward, 360.0f, 10f).setOnComplete( ()=>{ 21 | Debug.Log("before:"+before+" after :"+cube1.transform.position); 22 | }); 23 | 24 | LeanTween.value(gameObject, new Vector3(1f,1f,1f), new Vector3(10f,10f,10f), 1f).setOnUpdate( ( Vector3 val )=>{ 25 | // Debug.Log("val:"+val); 26 | }); 27 | 28 | LeanTween.value(gameObject, ScaleGroundColor, new Color(1f, 0f, 0f, 0.2f), Color.blue, 2f).setEaseInOutBounce(); 29 | 30 | LeanTween.scale(cube2, Vector3.one * 2f, 1f).setEasePunch().setScale(5f); 31 | 32 | LeanTween.scale(rect1, Vector3.one * 2f, 1f).setEasePunch().setScale(-1f); 33 | 34 | Vector3[] path = new Vector3[] { 35 | Vector2.zero, 36 | Vector2.zero, 37 | new Vector2 (1, -.5f), 38 | new Vector2 (1.4f, 0), 39 | new Vector2 (1, .5f), 40 | Vector2.zero, 41 | new Vector2 (-1, -.5f), 42 | new Vector2 (-1.4f, 0), 43 | new Vector2 (-1, .5f), 44 | Vector2.zero, 45 | Vector2.zero 46 | }; 47 | 48 | LeanTween.moveSplineLocal(sprite2,path,4f) 49 | .setOrientToPath2d(true).setRepeat(-1); 50 | 51 | // int tweenId = LeanTween.move (gameObject, new Vector3 (4f, 4f, 4f), 1f).setUseManualTime (true).id; 52 | 53 | // Later 54 | // LTDescr d = LeanTween.description( tweenId ); 55 | // d.setTime = 0.2f; 56 | } 57 | 58 | public static void ScaleGroundColor(Color to) 59 | { 60 | // Debug.Log("Color col:"+to); 61 | RenderSettings.ambientGroundColor = to; 62 | } 63 | 64 | // Update is called once per frame 65 | void Update () { 66 | 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing240.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecd415b8bcf214791b3187917ed9ddac 3 | timeCreated: 1477487882 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing240.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a26c48b8152c4a3fb944e75d8a3fad1 3 | timeCreated: 1477487868 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing243.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class Testing243 : MonoBehaviour { 5 | public GameObject cube1; 6 | public Light lightInScene; 7 | 8 | public RectTransform imageRectTransform; 9 | 10 | // Use this for initialization 11 | // void Start () { 12 | // cube1.transform.localPosition = new Vector3(0, 10, -10); 13 | // LeanTween.move(cube1, new Vector3(0, 0, -10), 1f).setEaseInOutQuart().setOnUpdate( ( Vector3 val )=>{ 14 | // Debug.Log("val:"+val); 15 | // }).setOnComplete(() => { 16 | // Debug.Log("cube1 end pos:"+cube1.transform.position); 17 | // }); 18 | // } 19 | 20 | void Start () { 21 | // LeanTween.alpha (imageRectTransform, 0, 0.3f).setLoopPingPong (-1); 22 | 23 | // LeanTween.move (cube1, new Vector3(10f,10f,10f), 10f).setLoopPingPong (-1).setPassed(5f); 24 | // LeanTween.moveLocal(cube1, cube1.transform.localPosition+new Vector3(0f,1f,0f),1f).setEaseShake(); 25 | 26 | LeanTween.sequence().append(LeanTween.scale(cube1, Vector3.one * 3f, .1f)).append(LeanTween.scale(cube1, Vector3.one*5.6f, .2f)); 27 | LeanTween.sequence().append(LeanTween.value (lightInScene.gameObject, (float f) => lightInScene.range = f, 8, 12, .1f)).append (LeanTween.value (lightInScene.gameObject, (float f) => lightInScene.range = f, 12, 8, .2f)); 28 | } 29 | 30 | // Update is called once per frame 31 | void Update () { 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing243.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3aec9f82ce4141eba0a050963c9be35 3 | timeCreated: 1484311310 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing243.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45c7976860cf7456f836999a7447f343 3 | timeCreated: 1484311288 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing246.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Testing246 : MonoBehaviour { 6 | 7 | public float gameScale = 1f; 8 | 9 | //private float nextElapsed = 0f; 10 | 11 | public GameObject tweenAlpha; 12 | 13 | // public void Start(){ 14 | // LeanTween.alpha(tweenAlpha, 0f, 1f).setRecursive(false); 15 | // } 16 | 17 | //void Update () { 18 | // if (Time.time >= nextElapsed) 19 | // { 20 | // nextElapsed = Time.time + 0.1f; 21 | // GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); 22 | 23 | // float randRad = Random.Range(0f, 2f * Mathf.PI); 24 | // float radius = 4f; 25 | // var pos = new Vector3(Mathf.Cos(randRad ) * radius, Mathf.Sin(randRad) * radius, 0f); 26 | // LeanTween.move(cube, pos, 1f).setSpeed(1f).setDestroyOnComplete(true); 27 | // } 28 | 29 | // Time.timeScale = gameScale; 30 | //} 31 | 32 | void Start() 33 | { 34 | //LeanTween.rotateLocal(tweenAlpha, new Vector3(0f,0f,360f), 1f).setRepeat(-1); 35 | //LeanTween.rotateAroundLocal(tweenAlpha, Vector3.forward, 360f, 1f).setOnComplete(()=>{ 36 | // LeanTween.cancel(tweenAlpha); 37 | 38 | //}); 39 | LeanTween.moveX(tweenAlpha, 10f, 0f); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing246.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bdf8eb4fc7034f42a5d6a6fbe199e93 3 | timeCreated: 1508754391 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing246.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07b38eaa49ca34ee3b10b3bcbd4ab991 3 | timeCreated: 1508754381 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing248.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Testing248 : MonoBehaviour { 6 | 7 | public GameObject dude1; 8 | 9 | // Use this for initialization 10 | void Start () { 11 | //dude1.LeanMoveX(10f, 1f); 12 | int id = LeanTween.moveX(dude1, 1f, 3f).id; 13 | Debug.Log("id:" + id); 14 | if (LeanTween.isTweening(id)) 15 | Debug.Log("I am tweening!"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing248.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f5c695e16dcb45d0a13ed0d3c75aae2 3 | timeCreated: 1533586079 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Testing/Testing248.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b3a161a91c7141faa6806d504d85df6 3 | timeCreated: 1533586059 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingColorTweening.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class TestingColorTweening : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | 10 | LeanTween.value(gameObject, Color.red, Color.green, 1f) 11 | .setOnUpdate(OnTweenUpdate) 12 | .setOnUpdateParam(new object[] { "" + 2 }); 13 | } 14 | 15 | private void OnTweenUpdate( Color update, object obj){ 16 | object[] objArr = obj as object[]; 17 | Debug.Log("update:"+update+" obj:"+objArr[0]); 18 | 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingColorTweening.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f55bdde2217834dac82393deed0da431 3 | timeCreated: 1465063484 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingDescr.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class TestingDescr : MonoBehaviour { 6 | 7 | private int tweenId; 8 | 9 | public GameObject go; 10 | 11 | // start a tween 12 | public void startTween(){ 13 | tweenId = LeanTween.moveX(go, 10f, 1f).id; 14 | Debug.Log("tweenId:" + tweenId); 15 | } 16 | 17 | // check tween descr 18 | public void checkTweenDescr(){ 19 | var descr = LeanTween.descr(tweenId); 20 | Debug.Log("descr:" + descr); 21 | Debug.Log("isTweening:"+LeanTween.isTweening(tweenId)); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingDescr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34cf2af3be6b8416a96944cea804f678 3 | timeCreated: 1502969838 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingDescr.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5183fb754722d4edba59e1f7ab972186 3 | timeCreated: 1502969829 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingIssue.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class TestingIssue : MonoBehaviour { 6 | 7 | LTDescr lt,ff; 8 | int id,fid; 9 | 10 | void Start () { 11 | LeanTween.init(); 12 | 13 | lt = LeanTween.move(gameObject,100*Vector3.one,2); 14 | id = lt.id; 15 | LeanTween.pause(id); 16 | 17 | ff = LeanTween.move(gameObject,Vector3.zero,2); 18 | fid = ff.id; 19 | LeanTween.pause(fid); 20 | } 21 | 22 | void Update () { 23 | if(Input.GetKeyDown(KeyCode.A)) 24 | { 25 | // Debug.Log("id:"+id); 26 | LeanTween.resume(id); 27 | } 28 | if(Input.GetKeyDown(KeyCode.D)) 29 | { 30 | LeanTween.resume(fid); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingIssue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19b0aa6aba5884412957780f848ed88b 3 | timeCreated: 1464089215 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingIssue.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed20e1ac0146c4887b0e31f3342ade8e 3 | timeCreated: 1464089246 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingIssue2.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class TestingIssue2 : MonoBehaviour { 6 | public RectTransform rect; 7 | public GameObject go; 8 | public GameObject go2; 9 | 10 | private LTDescr descr; 11 | 12 | void Start () { 13 | descr = LeanTween.move(go, new Vector3(0f,0,100f), 10f); 14 | descr.passed = 5f; // this should put it at the midway 15 | descr.updateNow(); 16 | descr.pause(); // doesn't matter if pause after or before setting descr.passed I think if I set the passed property and paused the next frame it would work 17 | 18 | // LeanTween.scale(go2, Vector3.one * 4f, 10f).setEasePunch(); 19 | 20 | LeanTween.scaleX (go2, (go2.transform.localScale * 1.5f).x, 15f).setEase (LeanTweenType.punch); 21 | LeanTween.scaleY (go2, (go2.transform.localScale * 1.5f).y, 15f).setEase (LeanTweenType.punch); 22 | LeanTween.scaleZ (go2, (go2.transform.localScale * 1.5f).z, 15f).setEase (LeanTweenType.punch); 23 | } 24 | bool set = false; 25 | void Update () { 26 | if (Time.unscaledTime > 5f && !set) 27 | { 28 | set = true; 29 | descr.resume(); // once this execute the object is put at the midway position as setted by passed and the tween continue. 30 | Debug.Log("resuming"); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingIssue2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96dcc09c4c2a140ee995898c07cfd3e5 3 | timeCreated: 1465062935 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingMaxTweens.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class TestingMaxTweens : MonoBehaviour { 6 | 7 | private int tweenIter = 0; 8 | 9 | void Awake(){ 10 | LeanTween.init (20); 11 | } 12 | 13 | void Update(){ 14 | // Debug.Log ("tweenIter:" + tweenIter + " tweensRunning:" + LeanTween.tweensRunning + " Time:" + Time.time); 15 | if (tweenIter < 20) { 16 | GameObject box = GameObject.CreatePrimitive(PrimitiveType.Cube); 17 | Destroy( box.GetComponent( typeof(BoxCollider) ) as Component ); 18 | 19 | // Debug.Log ("new Time.time:" + Time.time); 20 | LeanTween.moveX (box, 100f, 2f).setUseEstimatedTime(true).setOnComplete( ()=>{ 21 | Debug.Log("finishes Time:"+Time.timeScale); 22 | }).setDelay(0.1f); 23 | tweenIter++; 24 | } 25 | 26 | Time.timeScale = 0f; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingMaxTweens.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5144aefac24634e088391f880d88d35b 3 | timeCreated: 1481809953 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingMaxTweens.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9ba0a1a063d840ceab93a6bca146df1 3 | timeCreated: 1481809933 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingOptionalCancel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class TestingOptionalCancel : MonoBehaviour { 6 | 7 | public GameObject cube1; 8 | 9 | // Use this for initialization 10 | void Start () { 11 | LeanTween.init(1); 12 | // Fire up a bunch with onUpdates 13 | LeanTween.moveX(cube1, 10f, 1f).setOnUpdate((float val) => 14 | { 15 | Debug.Log("on update.... val:"+val+" cube1.x:"+cube1.transform.position.x); 16 | }); 17 | 18 | } 19 | 20 | private bool alternate = true; 21 | 22 | private void Update() 23 | { 24 | if(Input.GetMouseButtonDown(0)){ 25 | LeanTween.moveX(cube1, alternate ? -10f : 10f, 1f).setOnUpdate((float val) => 26 | { 27 | Debug.Log("2 on update.... val:" + val + " cube1.x:" + cube1.transform.position.x); 28 | }); 29 | alternate = !alternate; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingOptionalCancel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 073c63eedd7654d9dbde821193167cb7 3 | timeCreated: 1540897817 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingOptionalCancel.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f5ea09e01a334a3b9942b6ef860bedf 3 | timeCreated: 1540897805 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingRotate.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class TestingRotate : MonoBehaviour { 6 | 7 | //method 1 leantween 8 | public GameObject sun ; 9 | public GameObject earth; 10 | 11 | //method 2 leantween 12 | public GameObject sun2; 13 | public GameObject earth2; 14 | 15 | //method 3 unity3d 16 | public GameObject sun3; 17 | public GameObject earth3; 18 | 19 | void Start () { 20 | 21 | //method 1 leantween 22 | Vector3 sunLocalForEarth = earth.transform.InverseTransformPoint(sun.transform.position); 23 | Debug.Log("sunLocalForEarth:"+sunLocalForEarth); 24 | LeanTween.rotateAround(earth, earth.transform.up, 360f, 5.0f).setPoint(sunLocalForEarth).setRepeat(-1); 25 | 26 | //method 2 leantween 27 | Vector3 sunLocalForEarth2 = earth2.transform.InverseTransformPoint(sun2.transform.position); 28 | LeanTween.rotateAroundLocal(earth2, earth2.transform.up, 360f, 5.0f).setPoint(sunLocalForEarth2); 29 | 30 | } 31 | 32 | void Update() { 33 | 34 | //method 3 unity3d 35 | earth3.transform.RotateAround(sun3.transform.position, sun3.transform.up, 72f * Time.deltaTime); 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingRotate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cfb0dbe21e2e4ed98e890f53d936b12 3 | timeCreated: 1476543867 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingRotate.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88db57df867844767a1535ae3671ae36 3 | timeCreated: 1476543857 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingSceneSwitching.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using UnityEngine.SceneManagement; 4 | using DentedPixel; 5 | 6 | public class TestingSceneSwitching : MonoBehaviour { 7 | 8 | public GameObject cube; 9 | 10 | private static int sceneIter = 0; 11 | 12 | private int tweenCompleteCnt; 13 | 14 | // Use this for initialization 15 | void Start () { 16 | LeanTest.expected = 6; 17 | 18 | // Start a couple of tweens and make sure they complete 19 | tweenCompleteCnt = 0; 20 | 21 | LeanTween.scale(cube, new Vector3(3f,3f,3f), 0.1f).setDelay(0.1f).setOnComplete( ()=>{ 22 | tweenCompleteCnt++; 23 | }); 24 | 25 | LeanTween.move(cube, new Vector3(3f,3f,3f), 0.1f).setOnComplete( ()=>{ 26 | tweenCompleteCnt++; 27 | }); 28 | 29 | LeanTween.delayedCall(cube, 0.1f, ()=>{ 30 | tweenCompleteCnt++; 31 | }); 32 | 33 | // Schedule a couple of tweens, make sure some only half complete than switch scenes 34 | 35 | LeanTween.delayedCall(cube, 1f, ()=>{ 36 | LeanTween.scale(cube, new Vector3(3f,3f,3f), 1f).setDelay(0.1f).setOnComplete( ()=>{ 37 | 38 | }); 39 | 40 | LeanTween.move(cube, new Vector3(3f,3f,3f), 1f).setOnComplete( ()=>{ 41 | 42 | }); 43 | }); 44 | 45 | // Load next scene 46 | LeanTween.delayedCall(cube, 0.5f, ()=>{ 47 | LeanTest.expect( tweenCompleteCnt==3, "Scheduled tweens completed:"+sceneIter); 48 | if(sceneIter<5){ 49 | sceneIter++; 50 | SceneManager.LoadScene(0); 51 | } 52 | }); 53 | } 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingSceneSwitching.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243c96e80797b49eabe0b886084eccbe 3 | timeCreated: 1469703843 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingSceneSwitching.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2eedc500c8611491798b66b64c118120 3 | timeCreated: 1469703823 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingSequencer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class TestingSequencer : MonoBehaviour { 6 | public GameObject cube1; 7 | 8 | public void Start(){ 9 | 10 | 11 | var seq = LeanTween.sequence(); 12 | seq.append(() => { // fire an event before start 13 | Debug.Log("firsts:"+Time.time); 14 | }); 15 | seq.append(1f); // delay everything one second 16 | seq.append(() => { // fire an event before start 17 | Debug.Log("I have started:"+Time.time); 18 | }); 19 | seq.append( LeanTween.move(cube1, Vector3.one * 10f, 1f) ); // do a tween 20 | seq.append((object obj) => { // fire event after tween 21 | var dict = obj as Dictionary; 22 | Debug.Log("We are done now obj value:"+dict["hi"]); 23 | }, new Dictionary(){ {"hi","sup"} } ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingSequencer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 637354767abea4dfb8dbf2a06ab5d533 3 | timeCreated: 1488664922 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Samples~/Testing/TestingSequencer.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 086642bd5cf3543fda601bb4ac7c0fb1 3 | timeCreated: 1488664946 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/UPMExport.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6ef45e0369056c43a1d152a0fc8ac6b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec8d8620ccaf8474fb9192897b2e2795 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor/CopyExamplesFolder.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: a9ae3df7852e4d0b842f2f8d26bf39a4, type: 3} 13 | m_Name: CopyExamplesFolder 14 | m_EditorClassIdentifier: 15 | sourceFolder: Assets/LeanTweenSamples 16 | targetFolder: Assets/LeanTween/Samples~ 17 | replace: 1 18 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor/CopyExamplesFolder.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fd7549178442ae4e89ba71b62921d6c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor/ExportPackage.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 27c29ed6e3c24f93865b4bc2df8b9c73, type: 3} 13 | m_Name: ExportPackage 14 | m_EditorClassIdentifier: 15 | assetPaths: 16 | - Assets/LeanTween 17 | exportOptions: 2 18 | targetFile: Builds/LeanTween-{Version}.unitypackage 19 | zipFile: 1 20 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor/ExportPackage.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: deb9f7858095b604f89898576584ee34 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor/ExportPackageSamples.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 27c29ed6e3c24f93865b4bc2df8b9c73, type: 3} 13 | m_Name: ExportPackageSamples 14 | m_EditorClassIdentifier: 15 | assetPaths: 16 | - Assets/LeanTweenSamples 17 | exportOptions: 2 18 | targetFile: Builds/LeanTweenSamples-{Version}.unitypackage 19 | zipFile: 1 20 | -------------------------------------------------------------------------------- /Samples~/UPMExport/Editor/ExportPackageSamples.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db3d2322fb508f34f93d5e97cb94f1d5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.oss.leantween", 3 | "displayName": "Leantween", 4 | "description": "Efficient tweening engine", 5 | "keywords": [ 6 | "Tween", 7 | "Tweening", 8 | "Lerp", 9 | "Animation" 10 | ], 11 | "category": "Utility", 12 | "version": "2.50.4", 13 | "unity": "2018.1", 14 | "dependencies": { 15 | 16 | }, 17 | "samples": [ 18 | { 19 | "displayName": "Examples", 20 | "description": "Tweening Examples", 21 | "path": "Samples~/Examples" 22 | }, 23 | { 24 | "displayName": "Testing", 25 | "description": "Tests", 26 | "path": "Samples~/Testing" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 530ae33f5057d1341a55a706dcf5a1be 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | --------------------------------------------------------------------------------