├── .gitignore ├── Assets ├── LeanTween.meta └── LeanTween │ ├── 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 │ ├── 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 │ ├── 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 │ ├── License.txt │ ├── License.txt.meta │ ├── ReadMe.txt │ ├── ReadMe.txt.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 ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── README.md ├── RegisterIcalls.cpp └── UnityPackageManager └── manifest.json /.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 | -------------------------------------------------------------------------------- /Assets/LeanTween.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e6a0fa47acf54892bbdae89028eaec3 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6737b2aaab0f546e39693df5f551dfc8 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb26df1b849af495bbce0f91bac5a3f7 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/assets/css.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f4f05e2c3c7b4c5eb028eb9c0c93886 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/assets/css/main.css.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2e6f2786cebb4eb8945b46000f02d18 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Documentation/assets/favicon.ico -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/assets/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirector 5 | 6 | 7 | 8 | Click here to redirect 9 | 10 | 11 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/assets/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 395ceea41819e494b8fe14c2e7b05a00 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4bb1e3d3bec8431a82cb033f38b4ceb 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LTBezierPath.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7b721e4275c14b53a73241b9d0b256f 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LTDescr.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 728d9c45462a9409f8b8be1447f59e94 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LTEvent.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b8203605b4454b009a6fc1e269a8d50 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LTRect.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7ee5979c5f5f428d9c8735d84e09421 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LTSpline.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1adcbb4b77b884a4fb75bde98799d037 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LeanAudio.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddb683830b7524ebb8b302202c645c65 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LeanAudioOptions.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff952359765254c20b97874f5949c0d7 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LeanSmooth.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e988e3f0c183c44c29adbd5e82d6fd87 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LeanTween.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: beea01b16f84c4f18a168afa5800b612 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/LeanTweenType.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85c97d3850f59444cb0751b3bc40b06d 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirector 5 | 6 | 7 | 8 | Click here to redirect 9 | 10 | 11 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/classes/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a23cc63a765c44c9c82fb33b1ecb455f 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/elements/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirector 5 | 6 | 7 | 8 | Click here to redirect 9 | 10 | 11 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Documentation/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78eeb9616e21d4178b574871040d7fa0 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Editor/LeanTweenDocumentationEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | #if UNITY_EDITOR 4 | using UnityEditor; 5 | 6 | public class LeanTweenDocumentationEditor : Editor { 7 | 8 | [MenuItem ("Help/LeanTween Documentation")] 9 | static void openDocumentation() 10 | { 11 | #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_0_1 && !UNITY_4_1 && !UNITY_4_2 && !UNITY_4_3 12 | // Loops through all items in case the user has moved the default installation directory 13 | string[] guids = AssetDatabase.FindAssets ("LeanTween", null); 14 | string documentationPath = ""; 15 | foreach (string guid in guids){ 16 | string path = AssetDatabase.GUIDToAssetPath(guid); 17 | if(path.IndexOf("classes/LeanTween.html")>=0){ 18 | documentationPath = path; 19 | break; 20 | } 21 | } 22 | documentationPath = documentationPath.Substring(documentationPath.IndexOf("/")); 23 | string browserPath = "file://" + Application.dataPath + documentationPath + "#index"; 24 | Application.OpenURL(browserPath); 25 | 26 | #else 27 | // assumes the default installation directory 28 | string documentationPath = "file://"+Application.dataPath + "/LeanTween/Documentation/classes/LeanTween.html#index"; 29 | Application.OpenURL(documentationPath); 30 | 31 | #endif 32 | } 33 | 34 | [MenuItem ("Help/LeanTween Forum (ask questions)")] 35 | static void openForum() 36 | { 37 | Application.OpenURL("http://forum.unity3d.com/threads/leantween-a-tweening-engine-that-is-up-to-5x-faster-than-competing-engines.161113/"); 38 | } 39 | 40 | [MenuItem ("Help/LeanTween GitHub (contribute code)")] 41 | static void openGit() 42 | { 43 | Application.OpenURL("https://github.com/dentedpixel/LeanTween"); 44 | } 45 | 46 | [MenuItem ("Help/LeanTween Support (donate)")] 47 | static void openLTDonate() 48 | { 49 | Application.OpenURL("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YJPUT3RAK5VL8"); 50 | } 51 | 52 | [MenuItem ("Help/Dented Pixel News")] 53 | static void openDPNews() 54 | { 55 | Application.OpenURL("http://dentedpixel.com/category/developer-diary/"); 56 | } 57 | } 58 | 59 | #endif -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 486852d399aed440aa95693d95263c16 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/2dUnlitWithFade.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bce9282b1bfd475284fd2e72b37403c 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/GrumpyCat.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Archived/GrumpyCat.jpeg -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/OldGUIExamplesCS.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Archived/OldGUIExamplesCS.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/OldGUIExamplesCS.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec27881ee9cf54018ac9bd5706c2fdab 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/SoBeautiful.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Archived/SoBeautiful.gif -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/TestingPunch.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Archived/TestingPunch.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/TestingPunch.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cd53863374404f7b8e101f758cc46e7 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/TestingRigidbodyCS.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Archived/TestingRigidbodyCS.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Archived/TestingRigidbodyCS.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85c5a0f0e397a4579b42c67c6dce87ef 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a8596587ab4843d2ad8706c4d9c173b 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/AlphBumps.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/AlphBumps.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/AlphBumps.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12c720f1dd5674502bc1185ff99b70f9 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/AlphaReadyMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/AlphaReadyMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/AlphaReadyMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61731bf38a6fa4d66b536bc03fc8eb3f 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/DirectionalArrowMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/DirectionalArrowMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/FrictionLess.physicMaterial: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/FrictionLess.physicMaterial -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/FrictionLess.physicMaterial.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1560575207a7b4f27bcd4ab2aeb2e3a1 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_PersonSprites.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futoro_PersonSprites.jpg -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_PersonSprites.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cea2c9bf87b0c4dfdafb697a3ff00959 3 | TextureImporter: 4 | fileIDToRecycleName: 5 | 21300000: WingPersonSprites_0 6 | 21300002: WingPersonSprites_1 7 | 21300004: WingPersonSprites_2 8 | 21300006: WingPersonSprites_3 9 | serializedVersion: 2 10 | mipmaps: 11 | mipMapMode: 0 12 | enableMipMap: 1 13 | linearTexture: 0 14 | correctGamma: 0 15 | fadeOut: 0 16 | borderMipMap: 0 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: .25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 0 27 | seamlessCubemap: 0 28 | textureFormat: -1 29 | maxTextureSize: 1024 30 | textureSettings: 31 | filterMode: -1 32 | aniso: 16 33 | mipBias: -1 34 | wrapMode: 1 35 | nPOTScale: 0 36 | lightmap: 0 37 | compressionQuality: 50 38 | spriteMode: 2 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 1 46 | textureType: 8 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: 50 | - name: WingPersonSprites_0 51 | rect: 52 | serializedVersion: 2 53 | x: 0 54 | y: 128 55 | width: 128 56 | height: 128 57 | alignment: 0 58 | pivot: {x: 0, y: 0} 59 | border: {x: 0, y: 0, z: 0, w: 0} 60 | - name: WingPersonSprites_1 61 | rect: 62 | serializedVersion: 2 63 | x: 128 64 | y: 128 65 | width: 128 66 | height: 128 67 | alignment: 0 68 | pivot: {x: 0, y: 0} 69 | border: {x: 0, y: 0, z: 0, w: 0} 70 | - name: WingPersonSprites_2 71 | rect: 72 | serializedVersion: 2 73 | x: 0 74 | y: 0 75 | width: 128 76 | height: 128 77 | alignment: 0 78 | pivot: {x: 0, y: 0} 79 | border: {x: 0, y: 0, z: 0, w: 0} 80 | - name: WingPersonSprites_3 81 | rect: 82 | serializedVersion: 2 83 | x: 128 84 | y: 0 85 | width: 128 86 | height: 128 87 | alignment: 0 88 | pivot: {x: 0, y: 0} 89 | border: {x: 0, y: 0, z: 0, w: 0} 90 | spritePackingTag: 91 | userData: 92 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_PlanetMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futoro_PlanetMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_PlanetMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b98784ec692b4e00a86fa1044ad8998 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_Ring.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futoro_Ring.psd -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_Ring.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef31bc3f46d6047b29ff513e55daf05b 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 0 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 256 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 1 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_SineWave.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futoro_SineWave.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futoro_SineWave.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2eed51ebc4ee4089986bb1639255f0e 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_Bar.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futuro_Bar.psd -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_Bar.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 492b9988436bd45049a9a6bc52ac8fb0 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 24, y: 31, z: 25, w: 31} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_ButtonBack.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futuro_ButtonBack.psd -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_ButtonBack.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3abce7efa3854a4cb1dd6b47f553027 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 0 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 33, y: 32, z: 31, w: 32} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_ButtonBackDark.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futuro_ButtonBackDark.psd -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_ButtonBackDark.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8aaa707027cc4f79af3439c5dbc9652 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 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: 2048 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: 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: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 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 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: WebGL 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 0 98 | textureFormat: -1 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 0 102 | allowsAlphaSplitting: 0 103 | overridden: 0 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 7e7a10660494241ccb5c8b6dc7dc9fc0 112 | vertices: [] 113 | indices: 114 | edges: [] 115 | weights: [] 116 | spritePackingTag: 117 | pSDRemoveMatte: 0 118 | pSDShowRemoveMatteOption: 0 119 | userData: 120 | assetBundleName: 121 | assetBundleVariant: 122 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_SineWave.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futuro_SineWave.psd -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_SineWave.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d835741a3c4a14a0aa5f7536c46456c4 3 | TextureImporter: 4 | fileIDToRecycleName: 5 | 21300000: Futuro_SineWave_0 6 | serializedVersion: 2 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | linearTexture: 0 11 | correctGamma: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapFadeDistanceStart: 1 15 | mipMapFadeDistanceEnd: 3 16 | bumpmap: 17 | convertToNormalMap: 0 18 | externalNormalMap: 0 19 | heightScale: .25 20 | normalMapFilter: 0 21 | isReadable: 0 22 | grayScaleToAlpha: 0 23 | generateCubemap: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 64 27 | textureSettings: 28 | filterMode: -1 29 | aniso: 16 30 | mipBias: -1 31 | wrapMode: 1 32 | nPOTScale: 0 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 2 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 1 39 | spritePivot: {x: .5, y: .5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 50 42 | alphaIsTransparency: 1 43 | textureType: 8 44 | buildTargetSettings: [] 45 | spriteSheet: 46 | sprites: 47 | - name: Futuro_SineWave_0 48 | rect: 49 | serializedVersion: 2 50 | x: 0 51 | y: 0 52 | width: 64 53 | height: 64 54 | alignment: 0 55 | pivot: {x: 0, y: 0} 56 | border: {x: 0, y: 0, z: 0, w: 0} 57 | spritePackingTag: 58 | userData: 59 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_WindowBack.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Futuro_WindowBack.psd -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Futuro_WindowBack.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 678c92572cc724845a460c87117f5353 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 0 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: 1 28 | aniso: 1 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 120, y: 120, z: 120, w: 120} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Graph.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Graph.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Graph.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8a5e544bfa0d416892e87b12e93911b 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/GridLines.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/GridLines.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/GridLines.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a06e258e3bf640e885048b32fdf51b7 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Ground.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Ground.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Ground.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6784005974824c55b2b59b5bda24153 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/LineGlowMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/LineGlowMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/LineGlowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 658f4eba50cce41098da6ed347d8d270 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Mock2d.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/Mock2d.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/Mock2d.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab11516f0780f4d438844432fc7e8070 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/ParticleGlow.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/ParticleGlow.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/PointMark.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/PointMark.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/PointMark.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e77db49bc9fb6499290655245ce9bc95 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/SpaceLineGlowMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/SpaceLineGlowMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/TrackCar.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/TrackCar.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/TrackFollowMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/TrackFollowMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/TrackGlowMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/TrackGlowMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/TrackLines.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/TrackLines.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/TrailFollowMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/TrailFollowMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/TrailFollowMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff16fb4a90fe84bec9c8f29698aa0eed 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/WalkingStick.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Material/WalkingStick.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Material/WalkingStick.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3285d6d0bc506494b8fecba4d7aada26 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59b55a9208dd7467b964ad4ead1ef272 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/2dText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/2dText.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/AdvancedExamplesText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/AdvancedExamplesText.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/BasicExamplesText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/BasicExamplesText.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/BasicExamplesText.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 803bfbdea65eb4ebe96e481875403860 3 | ModelImporter: 4 | fileIDToRecycleName: 5 | 4300000: TextAndMore 6 | 4300002: TextMove 7 | 4300004: TextRotate 8 | 4300006: TextScale 9 | serializedVersion: 10 10 | materials: 11 | importMaterials: 1 12 | materialName: 0 13 | materialSearch: 1 14 | animations: 15 | generateAnimations: 3 16 | bakeSimulation: 0 17 | splitAnimations: 1 18 | animationCompression: 1 19 | animationRotationError: .5 20 | animationPositionError: .5 21 | animationScaleError: .5 22 | animationWrapMode: 0 23 | clipAnimations: [] 24 | meshes: 25 | lODScreenPercentages: [] 26 | globalScale: 1 27 | meshCompression: 0 28 | addColliders: 0 29 | swapUVChannels: 0 30 | generateSecondaryUV: 0 31 | useFileUnits: 1 32 | optimizeMesh: 0 33 | secondaryUVAngleDistortion: 8 34 | secondaryUVAreaDistortion: 15.000001 35 | secondaryUVHardAngle: 88 36 | secondaryUVPackMargin: 4 37 | tangentSpace: 38 | normalSmoothAngle: 60 39 | splitTangentsAcrossUV: 1 40 | normalImportMode: 0 41 | tangentImportMode: 1 42 | textMetaNamesToFileIDs: 43 | //RootNode: 44 | data: 45 | first: 1 46 | second: a0860100 47 | data: 48 | first: 4 49 | second: 801a0600 50 | data: 51 | first: 111 52 | second: 605fa900 53 | TextAndMore: 54 | data: 55 | first: 1 56 | second: a8860100 57 | data: 58 | first: 4 59 | second: 881a0600 60 | data: 61 | first: 23 62 | second: 66182300 63 | data: 64 | first: 33 65 | second: a65a3200 66 | TextMove: 67 | data: 68 | first: 1 69 | second: a6860100 70 | data: 71 | first: 4 72 | second: 861a0600 73 | data: 74 | first: 23 75 | second: 64182300 76 | data: 77 | first: 33 78 | second: a45a3200 79 | TextRotate: 80 | data: 81 | first: 1 82 | second: a4860100 83 | data: 84 | first: 4 85 | second: 841a0600 86 | data: 87 | first: 23 88 | second: 62182300 89 | data: 90 | first: 33 91 | second: a25a3200 92 | TextScale: 93 | data: 94 | first: 1 95 | second: a2860100 96 | data: 97 | first: 4 98 | second: 821a0600 99 | data: 100 | first: 23 101 | second: 60182300 102 | data: 103 | first: 33 104 | second: a05a3200 105 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/CameraShakeText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/CameraShakeText.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/CurvePathsText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/CurvePathsText.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/DirectionalArrow.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/DirectionalArrow.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/DirectionalArrow.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d47ae0396110840289d47476d8289fbf 3 | timeCreated: 1535208206 4 | licenseType: Pro 5 | ModelImporter: 6 | serializedVersion: 22 7 | fileIDToRecycleName: 8 | 100000: Camera 9 | 100002: Cube 10 | 100004: //RootNode 11 | 100006: Lamp 12 | 100008: Lamp.001 13 | 400000: Camera 14 | 400002: Cube 15 | 400004: //RootNode 16 | 400006: Lamp 17 | 400008: Lamp.001 18 | 2000000: Camera 19 | 2100000: Material 20 | 2300000: Cube 21 | 2300002: //RootNode 22 | 3300000: Cube 23 | 3300002: //RootNode 24 | 4300000: Cube 25 | 4300002: Arrow 26 | 10800000: Lamp 27 | 10800002: Lamp.001 28 | externalObjects: {} 29 | materials: 30 | importMaterials: 1 31 | materialName: 0 32 | materialSearch: 1 33 | materialLocation: 1 34 | animations: 35 | legacyGenerateAnimations: 4 36 | bakeSimulation: 0 37 | resampleCurves: 1 38 | optimizeGameObjects: 0 39 | motionNodeName: 40 | rigImportErrors: 41 | rigImportWarnings: 42 | animationImportErrors: 43 | animationImportWarnings: 44 | animationRetargetingWarnings: 45 | animationDoRetargetingWarnings: 0 46 | importAnimatedCustomProperties: 0 47 | animationCompression: 1 48 | animationRotationError: 0.5 49 | animationPositionError: 0.5 50 | animationScaleError: 0.5 51 | animationWrapMode: 0 52 | extraExposedTransformPaths: [] 53 | extraUserProperties: [] 54 | clipAnimations: [] 55 | isReadable: 0 56 | meshes: 57 | lODScreenPercentages: [] 58 | globalScale: 100 59 | meshCompression: 0 60 | addColliders: 0 61 | importVisibility: 1 62 | importBlendShapes: 0 63 | importCameras: 1 64 | importLights: 1 65 | swapUVChannels: 0 66 | generateSecondaryUV: 0 67 | useFileUnits: 1 68 | optimizeMeshForGPU: 1 69 | keepQuads: 0 70 | weldVertices: 1 71 | preserveHierarchy: 0 72 | indexFormat: 0 73 | secondaryUVAngleDistortion: 8 74 | secondaryUVAreaDistortion: 15.000001 75 | secondaryUVHardAngle: 88 76 | secondaryUVPackMargin: 4 77 | useFileScale: 1 78 | tangentSpace: 79 | normalSmoothAngle: 60 80 | normalImportMode: 1 81 | tangentImportMode: 3 82 | normalCalculationMode: 4 83 | importAnimation: 1 84 | copyAvatar: 0 85 | humanDescription: 86 | serializedVersion: 2 87 | human: [] 88 | skeleton: [] 89 | armTwist: 0.5 90 | foreArmTwist: 0.5 91 | upperLegTwist: 0.5 92 | legTwist: 0.5 93 | armStretch: 0.05 94 | legStretch: 0.05 95 | feetSpacing: 0 96 | rootMotionBoneName: 97 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 98 | hasTranslationDoF: 0 99 | hasExtraRoot: 0 100 | skeletonHasParents: 1 101 | lastHumanDescriptionAvatarSource: {instanceID: 0} 102 | animationType: 0 103 | humanoidOversampling: 1 104 | additionalBone: 0 105 | userData: 106 | assetBundleName: 107 | assetBundleVariant: 108 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/EndlessDrivingText.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/EndlessDrivingText.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/ExampleCar.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/ExampleCar.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/ExampleFirTree.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/ExampleFirTree.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Grid.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Grid.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/LeanTween-Icon.blend.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/LeanTween-Icon.blend.zip -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/LeanTween-Icon.blend.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fb081ef63f8c4c92a76f0b593f7abb0 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/LeanTween.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/LeanTween.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/LeanTween.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6cb897ad03b148b0b891659e4337604 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/LeanTweenHD-Icon.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/LeanTweenHD-Icon.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f652ae6214c614941a0954f4ad56666e 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/LMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/LMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/LMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02a8bb137b3dc465e834a60da68b0faa 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/LineMaterial.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/LineMaterial.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/LineMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf41397dc908943a38769b3d61f3877a 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/Material.001.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/Material.001.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/Material.001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee920b9374bc046b4a8b04eec2888d20 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/Material.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af31d53076fd745faa5f05dae96c15c3 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/Material_001.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/Material_001.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/Material_001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9041dec3e4f243ad92eacfec2f65378 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/No Name.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/No Name.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/No Name.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 221234e77532a4e3b96e5cce2b41b771 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarAlphaBlue.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/SimpleAvatarAlphaBlue.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarAlphaBlue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39a7c2c726d36466a82bb11886f760e1 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarBlue.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/SimpleAvatarBlue.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarBlue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e86c6ee57cd4c400ea5852025bc7b7c3 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarHat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/SimpleAvatarHat.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarHat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 894fe1d86fb5943f6a486e218bba2072 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarMat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/SimpleAvatarMat.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5732f0a6e68964f3eb5c3ebb94242055 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SimpleAvatarSpace.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/SimpleAvatarSpace.mat -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SubTitleText.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/SubTitleText.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/SubTitleText.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33b82a22301d648c5afa1a682a259e5d 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/eanTween.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/Materials/eanTween.mat -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/Materials/eanTween.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f619dcfcfb4564405b5fe5ea207c9199 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/SimpleAvatar.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/SimpleAvatar.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Models/SimpleAvatarPieces.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Models/SimpleAvatarPieces.fbx -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e27dc266d79d248949ea519da436426c 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/Avatar2dParticles.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/Avatar2dParticles.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/Avatar2dParticles.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d50011a464d5f44ccbfefb117020e5cb 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarAlpha.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/AvatarAlpha.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarAlpha.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f033a1cc164a48d99c0ccbd9425d153 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarDiffuse 1.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/AvatarDiffuse 1.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarDiffuse.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/AvatarDiffuse.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarDiffuse.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 992f36b41308f41f1bc39908c2c27dda 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarEventsCS.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/AvatarEventsCS.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarEventsCS.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c9c5d81a80e84e90af37f2113c12b2d 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarSpace.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/AvatarSpace.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarSparkles.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/AvatarSparkles.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/AvatarSparkles.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b796b489cc4c447c91c00d4136b0e54 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/BasicExamplesText.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/BasicExamplesText.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/BasicExamplesText.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b4ce6f9ebfb948a58b5b05397daaaea 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/DustCloud.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/DustCloud.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/EndlessPiece.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/EndlessPiece.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/EndlessPiece.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c73e0cec0a374576a4b47fbb49921d5 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/GridLine.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/GridLine.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/GridLine.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d9158a373e64481db63423af851bdc9 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/Grids.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Prefabs/Grids.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Prefabs/Grids.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a9d822b319924ae7a120c7f2ba0b067 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91c0707acdbf242e19dc1de4ada750e5 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/Following.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/Following.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralAdvancedTechniques.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralAdvancedTechniques.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralBasic.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralBasic.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralBasic.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 733435822951d4505bbf44759df1613d 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralBasics2d.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralBasics2d.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralBasics2d.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db7afcf97d5f646b9986f7e84ca1ac68 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralCameraShake.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralCameraShake.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralCameraShake.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a99971c1311c6405d8d2897f3f42ad32 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralEasingTypes.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralEasingTypes.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralEvents.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralEvents.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralEvents.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e603302e334b4bd0bef351e0f1e050c 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralSequencer.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralSequencer.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralSimpleUi.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralSimpleUi.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralSimpleUi.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7534096fc06e2452687df015b87d7cfa 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralUISpace.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/GeneralUISpace.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/GeneralUISpace.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 698925ae1198741f09200bbe0cbbff86 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/LogoCinematic.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/LogoCinematic.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/LogoCinematic.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68ea271dda32c4c209e4419b091b2288 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathBezier.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathBezier.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathBezier.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 173c35c3d8996463384732672075da90 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathBezier2d.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathBezier2d.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSpline2d.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathSpline2d.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSpline2d.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5daea63c1cc14d709cb8f5dc7d19173 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSplineEndless.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathSplineEndless.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSplinePerformance.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathSplinePerformance.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSplineTrack.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathSplineTrack.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSplines.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/PathSplines.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/PathSplines.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7851b12d34d54ef0bc16d6d34318d75 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/TestingUnitTests.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/TestingUnitTests.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/TestingUnitTests.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22e1e363584e94ef6a9661ede1f4e358 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/TestingZLegacy.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/TestingZLegacy.unity -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/TestingZLegacy.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d3c1732ee5ca4e86bf2497c4404c656 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scenes/TestingZLegacyExt.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scenes/TestingZLegacyExt.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd3a10f67e2b7486caaf1ac6b519b3ae 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scripts/Archive.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Scripts/Archive.zip -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scripts/Archive.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 950dff8c2dd5346409806b627ff3691f 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scripts/GeneralBasic.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | public class GeneralBasic : MonoBehaviour { 6 | 7 | public GameObject prefabAvatar; 8 | 9 | void Start () { 10 | // Setup 11 | GameObject avatarRotate = GameObject.Find("AvatarRotate"); 12 | GameObject avatarScale = GameObject.Find("AvatarScale"); 13 | GameObject avatarMove = GameObject.Find("AvatarMove"); 14 | 15 | // Rotate Example 16 | LeanTween.rotateAround( avatarRotate, Vector3.forward, 360f, 5f); 17 | 18 | // Scale Example 19 | LeanTween.scale( avatarScale, new Vector3(1.7f, 1.7f, 1.7f), 5f).setEase(LeanTweenType.easeOutBounce); 20 | LeanTween.moveX( avatarScale, avatarScale.transform.position.x + 5f, 5f).setEase(LeanTweenType.easeOutBounce); // Simultaneously target many different tweens on the same object 21 | 22 | // Move Example 23 | LeanTween.move( avatarMove, avatarMove.transform.position + new Vector3(-9f, 0f, 1f), 2f).setEase(LeanTweenType.easeInQuad); 24 | 25 | // Delay 26 | LeanTween.move( avatarMove, avatarMove.transform.position + new Vector3(-6f, 0f, 1f), 2f).setDelay(3f); 27 | 28 | // Chain properties (delay, easing with a set repeating of type ping pong) 29 | LeanTween.scale( avatarScale, new Vector3(0.2f, 0.2f, 0.2f), 1f).setDelay(7f).setEase(LeanTweenType.easeInOutCirc).setLoopPingPong( 3 ); 30 | 31 | // Call methods after a certain time period 32 | LeanTween.delayedCall(gameObject, 0.2f, advancedExamples); 33 | 34 | } 35 | 36 | // Advanced Examples 37 | // It might be best to master the basics first, but this is included to tease the many possibilies LeanTween provides. 38 | 39 | void advancedExamples(){ 40 | LeanTween.delayedCall(gameObject, 14f, ()=>{ 41 | for(int i=0; i < 10; i++){ 42 | // Instantiate Container 43 | GameObject rotator = new GameObject("rotator"+i); 44 | rotator.transform.position = new Vector3(10.2f,2.85f,0f); 45 | 46 | // Instantiate Avatar 47 | GameObject dude = (GameObject)GameObject.Instantiate(prefabAvatar, Vector3.zero, prefabAvatar.transform.rotation ); 48 | dude.transform.parent = rotator.transform; 49 | dude.transform.localPosition = new Vector3(0f,1.5f,2.5f*i); 50 | 51 | // Scale, pop-in 52 | dude.transform.localScale = new Vector3(0f,0f,0f); 53 | LeanTween.scale(dude, new Vector3(0.65f,0.65f,0.65f), 1f).setDelay(i*0.2f).setEase(LeanTweenType.easeOutBack); 54 | 55 | // Color like the rainbow 56 | float period = LeanTween.tau/10*i; 57 | float red = Mathf.Sin(period + LeanTween.tau*0f/3f) * 0.5f + 0.5f; 58 | float green = Mathf.Sin(period + LeanTween.tau*1f/3f) * 0.5f + 0.5f; 59 | float blue = Mathf.Sin(period + LeanTween.tau*2f/3f) * 0.5f + 0.5f; 60 | Color rainbowColor = new Color(red, green, blue); 61 | LeanTween.color(dude, rainbowColor, 0.3f).setDelay(1.2f + i*0.4f); 62 | 63 | // Push into the wheel 64 | LeanTween.moveZ(dude, 0f, 0.3f).setDelay(1.2f + i*0.4f).setEase(LeanTweenType.easeSpring).setOnComplete( 65 | ()=>{ 66 | LeanTween.rotateAround(rotator, Vector3.forward, -1080f, 12f); 67 | } 68 | ); 69 | 70 | // Jump Up and back down 71 | LeanTween.moveLocalY(dude,4f,1.2f).setDelay(5f + i*0.2f).setLoopPingPong(1).setEase(LeanTweenType.easeInOutQuad); 72 | 73 | // Alpha Out, and destroy 74 | LeanTween.alpha(dude, 0f, 0.6f).setDelay(9.2f + i*0.4f).setDestroyOnComplete(true).setOnComplete( 75 | ()=>{ 76 | Destroy( rotator ); // destroying parent as well 77 | } 78 | ); 79 | } 80 | 81 | }).setOnCompleteOnStart(true).setRepeat(-1); // Have the OnComplete play in the beginning and have the whole group repeat endlessly 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scripts/GeneralEventsListeners.cs: -------------------------------------------------------------------------------- 1 | #if !UNITY_FLASH 2 | using UnityEngine; 3 | using System.Collections; 4 | using DentedPixel; 5 | 6 | public class GeneralEventsListeners : MonoBehaviour { 7 | 8 | Vector3 towardsRotation; 9 | float turnForLength = 0.5f; 10 | float turnForIter = 0f; 11 | Color fromColor; 12 | 13 | // It's best to make this a public enum that you use throughout your project, so every class can have access to it 14 | public enum MyEvents{ 15 | CHANGE_COLOR, 16 | JUMP, 17 | LENGTH 18 | } 19 | 20 | void Awake(){ 21 | LeanTween.LISTENERS_MAX = 100; // This is the maximum of event listeners you will have added as listeners 22 | LeanTween.EVENTS_MAX = (int)MyEvents.LENGTH; // The maximum amount of events you will be dispatching 23 | 24 | fromColor = GetComponent().material.color; 25 | } 26 | 27 | void Start () { 28 | // Adding Listeners, it's best to use an enum so your listeners are more descriptive but you could use an int like 0,1,2,... 29 | LeanTween.addListener(gameObject, (int)MyEvents.CHANGE_COLOR, changeColor); 30 | LeanTween.addListener(gameObject, (int)MyEvents.JUMP, jumpUp); 31 | } 32 | 33 | // ****** Event Listening Methods 34 | 35 | void jumpUp( LTEvent e ){ 36 | GetComponent().AddRelativeForce(Vector3.forward * 300f); 37 | } 38 | 39 | void changeColor( LTEvent e ){ 40 | Transform tran = (Transform)e.data; 41 | float distance = Vector3.Distance( tran.position, transform.position); 42 | Color to = new Color(Random.Range(0f,1f),0f,Random.Range(0f,1f)); 43 | LeanTween.value( gameObject, fromColor, to, 0.8f ).setLoopPingPong(1).setDelay(distance*0.05f).setOnUpdate( 44 | (Color col)=>{ 45 | GetComponent().material.color = col; 46 | } 47 | ); 48 | } 49 | 50 | // ****** Physics / AI Stuff 51 | 52 | void OnCollisionEnter(Collision collision) { 53 | if(collision.gameObject.layer!=2) 54 | towardsRotation = new Vector3(0f, Random.Range(-180, 180), 0f); 55 | } 56 | 57 | void OnCollisionStay(Collision collision) { 58 | if(collision.gameObject.layer!=2){ 59 | turnForIter = 0f; 60 | turnForLength = Random.Range(0.5f, 1.5f); 61 | } 62 | } 63 | 64 | void FixedUpdate(){ 65 | if(turnForIter < turnForLength){ 66 | GetComponent().MoveRotation( GetComponent().rotation * Quaternion.Euler(towardsRotation * Time.deltaTime ) ); 67 | turnForIter += Time.deltaTime; 68 | } 69 | 70 | GetComponent().AddRelativeForce(Vector3.forward * 4.5f); 71 | } 72 | 73 | // ****** Key and clicking detection 74 | 75 | void OnMouseDown(){ 76 | if(Input.GetKey( KeyCode.J )){ // Are you also pressing the "j" key while clicking 77 | LeanTween.dispatchEvent((int)MyEvents.JUMP); 78 | }else{ 79 | LeanTween.dispatchEvent((int)MyEvents.CHANGE_COLOR, transform); // with every dispatched event, you can include an object (retrieve this object with the *.data var in LTEvent) 80 | } 81 | } 82 | } 83 | #endif 84 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | } -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Scripts/PathSplineTrack.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using DentedPixel; 4 | 5 | // This project demonstrates how you can use the spline behaviour for a multi-track game (like an endless runner style) 6 | 7 | public class PathSplineTrack : MonoBehaviour { 8 | 9 | public GameObject car; 10 | public GameObject carInternal; 11 | public GameObject trackTrailRenderers; 12 | 13 | public Transform[] trackOnePoints; 14 | 15 | private LTSpline track; 16 | private int trackIter = 1; 17 | private float trackPosition; // ratio 0,1 of the avatars position on the track 18 | 19 | void Start () { 20 | // Make the track from the provided transforms 21 | track = new LTSpline( new Vector3[] {trackOnePoints[0].position, trackOnePoints[1].position, trackOnePoints[2].position, trackOnePoints[3].position, trackOnePoints[4].position, trackOnePoints[5].position, trackOnePoints[6].position} ); 22 | 23 | // Optional technique to show the trails in game 24 | LeanTween.moveSpline( trackTrailRenderers, track, 2f ).setOrientToPath(true).setRepeat(-1); 25 | } 26 | 27 | void Update () { 28 | // Switch tracks on keyboard input 29 | float turn = Input.GetAxis("Horizontal"); 30 | if(Input.anyKeyDown){ 31 | if(turn<0f && trackIter>0){ 32 | trackIter--; 33 | playSwish(); 34 | }else if(turn>0f && trackIter < 2){ // We have three track "rails" so stopping it from going above 3 35 | trackIter++; 36 | playSwish(); 37 | } 38 | // Move the internal local x of the car to simulate changing tracks 39 | LeanTween.moveLocalX(carInternal, (trackIter-1)*6f, 0.3f).setEase(LeanTweenType.easeOutBack); 40 | 41 | } 42 | 43 | // Update avatar's position on correct track 44 | track.place( car.transform, trackPosition ); 45 | 46 | trackPosition += Time.deltaTime * 0.03f;// * Input.GetAxis("Vertical"); // Uncomment to have the forward and backwards controlled by the directional arrows 47 | 48 | if (trackPosition < 0f) // We need to keep the ratio between 0-1 so after one we will loop back to the beginning of the track 49 | trackPosition = 1f; 50 | else if(trackPosition>1f) 51 | trackPosition = 0f; 52 | } 53 | 54 | // Use this for visualizing what the track looks like in the editor (for a full suite of spline tools check out the LeanTween Editor) 55 | void OnDrawGizmos(){ 56 | LTSpline.drawGizmo( trackOnePoints, Color.red); 57 | } 58 | 59 | // Make your own LeanAudio sounds at http://leanaudioplay.dentedpixel.com 60 | void playSwish(){ 61 | AnimationCurve volumeCurve = new AnimationCurve( new Keyframe(0f, 0.005464481f, 1.83897f, 0f), new Keyframe(0.1114856f, 2.281785f, 0f, 0f), new Keyframe(0.2482903f, 2.271654f, 0f, 0f), new Keyframe(0.3f, 0.01670286f, 0f, 0f)); 62 | AnimationCurve frequencyCurve = new AnimationCurve( new Keyframe(0f, 0.00136725f, 0f, 0f), new Keyframe(0.1482391f, 0.005405405f, 0f, 0f), new Keyframe(0.2650336f, 0.002480127f, 0f, 0f)); 63 | 64 | AudioClip audioClip = LeanAudio.createAudio(volumeCurve, frequencyCurve, LeanAudio.options().setVibrato( new Vector3[]{ new Vector3(0.2f,0.5f,0f)} ).setWaveNoise().setWaveNoiseScale(1000)); 65 | 66 | LeanAudio.play( audioClip ); //a:fvb:8,,.00136725,,,.1482391,.005405405,,,.2650336,.002480127,,,8~8,,.005464481,1.83897,,.1114856,2.281785,,,.2482903,2.271654,,,.3,.01670286,,,8~.2,.5,,~~0~~3,1000,1 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e39f8f3dc0404757be9a05da7cc9802 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/DefaultParticleReplacement.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Textures/DefaultParticleReplacement.jpg -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/Dude2d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Textures/Dude2d.png -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/Dude2d.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f7fa9a7940a64e79b5a42d9f661d42c 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 0 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 1 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 1 47 | spriteTessellationDetail: -1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | outline: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/DustCloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Textures/DustCloud.png -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/DustCloud.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4c548a339b4d41a590928c0c98934a7 3 | timeCreated: 1488749175 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 1 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 1 46 | spriteTessellationDetail: -1 47 | textureType: 8 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 1 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | - buildTarget: iPhone 70 | maxTextureSize: 2048 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | - buildTarget: WebGL 78 | maxTextureSize: 2048 79 | textureFormat: -1 80 | textureCompression: 1 81 | compressionQuality: 50 82 | crunchedCompression: 0 83 | allowsAlphaSplitting: 0 84 | overridden: 0 85 | spriteSheet: 86 | serializedVersion: 2 87 | sprites: [] 88 | outline: [] 89 | spritePackingTag: 90 | userData: 91 | assetBundleName: 92 | assetBundleVariant: 93 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/HorizontalGradient.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Textures/HorizontalGradient.jpg -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/PowerUpStar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Examples/Textures/PowerUpStar.png -------------------------------------------------------------------------------- /Assets/LeanTween/Examples/Textures/PowerUpStar.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70141d51621e24facbca9196bbde84b4 3 | timeCreated: 1489249445 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 1 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 1 46 | spriteTessellationDetail: -1 47 | textureType: 8 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 1 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | - buildTarget: iPhone 70 | maxTextureSize: 2048 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | spriteSheet: 78 | serializedVersion: 2 79 | sprites: [] 80 | outline: [] 81 | spritePackingTag: 82 | userData: 83 | assetBundleName: 84 | assetBundleVariant: 85 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Framework/LTDescrOptional.cs: -------------------------------------------------------------------------------- 1 | //namespace DentedPixel{ 2 | using UnityEngine; 3 | using System; 4 | using System.Collections; 5 | using System.Collections.Generic; 6 | 7 | public class LTDescrOptional { 8 | 9 | public Transform toTrans { get; set; } 10 | public Vector3 point { get; set; } 11 | public Vector3 axis { get; set; } 12 | public float lastVal{ get; set; } 13 | public Quaternion origRotation { get; set; } 14 | public LTBezierPath path { get; set; } 15 | public LTSpline spline { get; set; } 16 | public AnimationCurve animationCurve; 17 | public int initFrameCount; 18 | public Color color; 19 | 20 | public LTRect ltRect { get; set; } // maybe get rid of this eventually 21 | 22 | public Action onUpdateFloat { get; set; } 23 | public Action onUpdateFloatRatio { get; set; } 24 | public Action onUpdateFloatObject { get; set; } 25 | public Action onUpdateVector2 { get; set; } 26 | public Action onUpdateVector3 { get; set; } 27 | public Action onUpdateVector3Object { get; set; } 28 | public Action onUpdateColor { get; set; } 29 | public Action onUpdateColorObject { get; set; } 30 | public Action onComplete { get; set; } 31 | public Action onCompleteObject { get; set; } 32 | public object onCompleteParam { get; set; } 33 | public object onUpdateParam { get; set; } 34 | public Action onStart { get; set; } 35 | 36 | 37 | // #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_0_1 && !UNITY_4_1 && !UNITY_4_2 38 | // public SpriteRenderer spriteRen { get; set; } 39 | // #endif 40 | // 41 | // #if LEANTWEEN_1 42 | // public Hashtable optional; 43 | // #endif 44 | // #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_0_1 && !UNITY_4_1 && !UNITY_4_2 && !UNITY_4_3 && !UNITY_4_5 45 | // public RectTransform rectTransform; 46 | // public UnityEngine.UI.Text uiText; 47 | // public UnityEngine.UI.Image uiImage; 48 | // public UnityEngine.Sprite[] sprites; 49 | // #endif 50 | 51 | 52 | public void reset(){ 53 | animationCurve = null; 54 | 55 | this.onUpdateFloat = null; 56 | this.onUpdateFloatRatio = null; 57 | this.onUpdateVector2 = null; 58 | this.onUpdateVector3 = null; 59 | this.onUpdateFloatObject = null; 60 | this.onUpdateVector3Object = null; 61 | this.onUpdateColor = null; 62 | this.onComplete = null; 63 | this.onCompleteObject = null; 64 | this.onCompleteParam = null; 65 | this.onStart = null; 66 | 67 | this.point = Vector3.zero; 68 | this.initFrameCount = 0; 69 | } 70 | 71 | public void callOnUpdate( float val, float ratioPassed){ 72 | if(this.onUpdateFloat!=null) 73 | this.onUpdateFloat(val); 74 | 75 | if (this.onUpdateFloatRatio != null){ 76 | this.onUpdateFloatRatio(val,ratioPassed); 77 | }else if(this.onUpdateFloatObject!=null){ 78 | this.onUpdateFloatObject(val, this.onUpdateParam); 79 | }else if(this.onUpdateVector3Object!=null){ 80 | this.onUpdateVector3Object(LTDescr.newVect, this.onUpdateParam); 81 | }else if(this.onUpdateVector3!=null){ 82 | this.onUpdateVector3(LTDescr.newVect); 83 | }else if(this.onUpdateVector2!=null){ 84 | this.onUpdateVector2(new Vector2(LTDescr.newVect.x,LTDescr.newVect.y)); 85 | } 86 | } 87 | } 88 | 89 | //} 90 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Framework/LeanTween.dll.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Framework/LeanTween.dll.zip -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/License.txt: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /Assets/LeanTween/License.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e389e9bcd4f944c338327697bd209cad 3 | timeCreated: 1469016738 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/ReadMe.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1e0da947b69648fdb1884d602088d92 3 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/FollowingTests.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/FollowingTests.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/PerformanceTests.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/PerformanceTests.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/Prefabs/BulletPrefab.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/Prefabs/BulletPrefab.prefab -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | } -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/Testing240.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/Testing240.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/Testing243.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/Testing243.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/Testing246.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/Testing246.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/Testing248.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/Testing248.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingDescr.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingDescr.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingIssue.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingIssue.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingMaxTweens.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingMaxTweens.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingOptionalCancel.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingOptionalCancel.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingRotate.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingRotate.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingSceneSwitching.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingSceneSwitching.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Assets/LeanTween/Testing/TestingSequencer.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/Assets/LeanTween/Testing/TestingSequencer.unity -------------------------------------------------------------------------------- /Assets/LeanTween/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 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "2.0.16", 5 | "com.unity.package-manager-ui": "1.9.11", 6 | "com.unity.purchasing": "2.0.3", 7 | "com.unity.textmeshpro": "1.2.4", 8 | "com.unity.modules.ai": "1.0.0", 9 | "com.unity.modules.animation": "1.0.0", 10 | "com.unity.modules.assetbundle": "1.0.0", 11 | "com.unity.modules.audio": "1.0.0", 12 | "com.unity.modules.cloth": "1.0.0", 13 | "com.unity.modules.director": "1.0.0", 14 | "com.unity.modules.imageconversion": "1.0.0", 15 | "com.unity.modules.imgui": "1.0.0", 16 | "com.unity.modules.jsonserialize": "1.0.0", 17 | "com.unity.modules.particlesystem": "1.0.0", 18 | "com.unity.modules.physics": "1.0.0", 19 | "com.unity.modules.physics2d": "1.0.0", 20 | "com.unity.modules.screencapture": "1.0.0", 21 | "com.unity.modules.terrain": "1.0.0", 22 | "com.unity.modules.terrainphysics": "1.0.0", 23 | "com.unity.modules.tilemap": "1.0.0", 24 | "com.unity.modules.ui": "1.0.0", 25 | "com.unity.modules.uielements": "1.0.0", 26 | "com.unity.modules.umbra": "1.0.0", 27 | "com.unity.modules.unityanalytics": "1.0.0", 28 | "com.unity.modules.unitywebrequest": "1.0.0", 29 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 30 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 31 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 32 | "com.unity.modules.unitywebrequestwww": "1.0.0", 33 | "com.unity.modules.vehicles": "1.0.0", 34 | "com.unity.modules.video": "1.0.0", 35 | "com.unity.modules.vr": "1.0.0", 36 | "com.unity.modules.wind": "1.0.0", 37 | "com.unity.modules.xr": "1.0.0" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/PresetManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.3.0f3 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dentedpixel/LeanTween/f387a18039f1eae62ab3e0a706c3e1002a4dcb22/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | LeanTween 2 | ========= 3 | 4 | LeanTween is an efficient tweening engine for the Unity 3d engine 5 | 6 | **To use LeanTween** move the included Plugins folder into the root of your project (or move LeanTween.cs directly into any pre-existing Assets/Plugins folder). 7 | 8 | Documentation can be found here: http://dentedpixel.com/LeanTweenDocumentation/classes/LeanTween.html 9 | 10 | Examples here: https://github.com/dentedpixel/LeanTween/archive/master.zip -------------------------------------------------------------------------------- /UnityPackageManager/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | --------------------------------------------------------------------------------