├── .github ├── FUNDING.yml └── workflows │ └── main.yml ├── .gitignore ├── .idea └── .idea.dots-tween.dir │ └── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── indexLayout.xml │ └── vcs.xml ├── CHANGELOG.md ├── CHANGELOG.md.meta ├── Editor.meta ├── Editor ├── CI.meta ├── CI │ ├── BuildUtils.cs │ └── BuildUtils.cs.meta ├── DotsTween.Editor.asmdef └── DotsTween.Editor.asmdef.meta ├── LICENSE ├── LICENSE.meta ├── README.md ├── README.md.meta ├── Runtime.meta ├── Runtime ├── DotsTween.Runtime.asmdef ├── DotsTween.Runtime.asmdef.meta ├── Math.meta ├── Math │ ├── EaseType.cs │ ├── EaseType.cs.meta │ ├── EasingFunctions.cs │ ├── EasingFunctions.cs.meta │ ├── Extensions.cs │ └── Extensions.cs.meta ├── Static.meta ├── Static │ ├── HDRP.meta │ ├── HDRP │ │ ├── Tween.HDRP.AlphaCutoff.cs │ │ ├── Tween.HDRP.AlphaCutoff.cs.meta │ │ ├── Tween.HDRP.AmbientOcclusionRemapMax.cs │ │ ├── Tween.HDRP.AmbientOcclusionRemapMax.cs.meta │ │ ├── Tween.HDRP.AmbientOcclusionRemapMin.cs │ │ ├── Tween.HDRP.AmbientOcclusionRemapMin.cs.meta │ │ ├── Tween.HDRP.DetailAlbedoScale.cs │ │ ├── Tween.HDRP.DetailAlbedoScale.cs.meta │ │ ├── Tween.HDRP.DetailNormalScale.cs │ │ ├── Tween.HDRP.DetailNormalScale.cs.meta │ │ ├── Tween.HDRP.DetailSmoothnessScale.cs │ │ ├── Tween.HDRP.DetailSmoothnessScale.cs.meta │ │ ├── Tween.HDRP.DiffusionProfileHash.cs │ │ ├── Tween.HDRP.DiffusionProfileHash.cs.meta │ │ ├── Tween.HDRP.EmissiveColor.cs │ │ ├── Tween.HDRP.EmissiveColor.cs.meta │ │ ├── Tween.HDRP.Fade.cs │ │ ├── Tween.HDRP.Fade.cs.meta │ │ ├── Tween.HDRP.FadeUnlit.cs │ │ ├── Tween.HDRP.FadeUnlit.cs.meta │ │ ├── Tween.HDRP.Metallic.cs │ │ ├── Tween.HDRP.Metallic.cs.meta │ │ ├── Tween.HDRP.Smoothness.cs │ │ ├── Tween.HDRP.Smoothness.cs.meta │ │ ├── Tween.HDRP.SmoothnessRemapMax.cs │ │ ├── Tween.HDRP.SmoothnessRemapMax.cs.meta │ │ ├── Tween.HDRP.SmoothnessRemapMin.cs │ │ ├── Tween.HDRP.SmoothnessRemapMin.cs.meta │ │ ├── Tween.HDRP.SpecularColor.cs │ │ ├── Tween.HDRP.SpecularColor.cs.meta │ │ ├── Tween.HDRP.Thickness.cs │ │ ├── Tween.HDRP.Thickness.cs.meta │ │ ├── Tween.HDRP.ThicknessRemap.cs │ │ ├── Tween.HDRP.ThicknessRemap.cs.meta │ │ ├── Tween.HDRP.Tint.cs │ │ ├── Tween.HDRP.Tint.cs.meta │ │ ├── Tween.HDRP.TintUnlit.cs │ │ └── Tween.HDRP.TintUnlit.cs.meta │ ├── Transform.meta │ ├── Transform │ │ ├── Tween.Move.cs │ │ ├── Tween.Move.cs.meta │ │ ├── Tween.MoveSpline.cs │ │ ├── Tween.MoveSpline.cs.meta │ │ ├── Tween.NonUniformScale.cs │ │ ├── Tween.NonUniformScale.cs.meta │ │ ├── Tween.Rotate.cs │ │ ├── Tween.Rotate.cs.meta │ │ ├── Tween.Scale.cs │ │ └── Tween.Scale.cs.meta │ ├── Tween.Controls.cs │ ├── Tween.Controls.cs.meta │ ├── Tween.Timeline.cs │ ├── Tween.Timeline.cs.meta │ ├── Tween.cs │ ├── Tween.cs.meta │ ├── URP.meta │ └── URP │ │ ├── Tween.URP.BumpScale.cs │ │ ├── Tween.URP.BumpScale.cs.meta │ │ ├── Tween.URP.Cutoff.cs │ │ ├── Tween.URP.Cutoff.cs.meta │ │ ├── Tween.URP.EmissionColor.cs │ │ ├── Tween.URP.EmissionColor.cs.meta │ │ ├── Tween.URP.Fade.cs │ │ ├── Tween.URP.Fade.cs.meta │ │ ├── Tween.URP.Metallic.cs │ │ ├── Tween.URP.Metallic.cs.meta │ │ ├── Tween.URP.OcclusionStrength.cs │ │ ├── Tween.URP.OcclusionStrength.cs.meta │ │ ├── Tween.URP.Smoothness.cs │ │ ├── Tween.URP.Smoothness.cs.meta │ │ ├── Tween.URP.SpecularColor.cs │ │ ├── Tween.URP.SpecularColor.cs.meta │ │ ├── Tween.URP.Tint.cs │ │ └── Tween.URP.Tint.cs.meta ├── Timelines.meta ├── Timelines │ ├── Components.meta │ ├── Components │ │ ├── ITimelineElement.cs │ │ ├── ITimelineElement.cs.meta │ │ ├── TimelineComponent.cs │ │ ├── TimelineComponent.cs.meta │ │ ├── TimelineComponentOperationTuple.cs │ │ ├── TimelineComponentOperationTuple.cs.meta │ │ ├── TimelineControlCommand.cs │ │ ├── TimelineControlCommand.cs.meta │ │ ├── TimelineDestroyTag.cs │ │ ├── TimelineDestroyTag.cs.meta │ │ ├── TimelineElement.cs │ │ ├── TimelineElement.cs.meta │ │ ├── TimelinePauseTag.cs │ │ └── TimelinePauseTag.cs.meta │ ├── Systems.meta │ ├── Systems │ │ ├── TimelineControlSystem.cs │ │ ├── TimelineControlSystem.cs.meta │ │ ├── TimelineDestroySystem.cs │ │ ├── TimelineDestroySystem.cs.meta │ │ ├── TimelinePlaybackSystem.cs │ │ ├── TimelinePlaybackSystem.cs.meta │ │ ├── TimelineSystemCommandTypeHelper.cs │ │ └── TimelineSystemCommandTypeHelper.cs.meta │ ├── TimelineSystemGroups.cs │ └── TimelineSystemGroups.cs.meta ├── Tweens.meta └── Tweens │ ├── ComponentOperations.cs │ ├── ComponentOperations.cs.meta │ ├── Components.meta │ ├── Components │ ├── Commands.meta │ ├── Commands │ │ ├── Control.meta │ │ ├── Control │ │ │ ├── TweenDestroyCommand.cs │ │ │ ├── TweenDestroyCommand.cs.meta │ │ │ ├── TweenPauseCommand.cs │ │ │ ├── TweenPauseCommand.cs.meta │ │ │ ├── TweenResumeCommand.cs │ │ │ ├── TweenResumeCommand.cs.meta │ │ │ ├── TweenStopCommand.cs │ │ │ └── TweenStopCommand.cs.meta │ │ ├── HDRP.meta │ │ ├── HDRP │ │ │ ├── TweenHDRPAlphaCutoffCommand.cs │ │ │ ├── TweenHDRPAlphaCutoffCommand.cs.meta │ │ │ ├── TweenHDRPAmbientOcclusionRemapMaxCommand.cs │ │ │ ├── TweenHDRPAmbientOcclusionRemapMaxCommand.cs.meta │ │ │ ├── TweenHDRPAmbientOcclusionRemapMinCommand.cs │ │ │ ├── TweenHDRPAmbientOcclusionRemapMinCommand.cs.meta │ │ │ ├── TweenHDRPDetailAlbedoScaleCommand.cs │ │ │ ├── TweenHDRPDetailAlbedoScaleCommand.cs.meta │ │ │ ├── TweenHDRPDetailNormalScaleCommand.cs │ │ │ ├── TweenHDRPDetailNormalScaleCommand.cs.meta │ │ │ ├── TweenHDRPDetailSmoothnessScaleCommand.cs │ │ │ ├── TweenHDRPDetailSmoothnessScaleCommand.cs.meta │ │ │ ├── TweenHDRPDiffusionProfileHashCommand.cs │ │ │ ├── TweenHDRPDiffusionProfileHashCommand.cs.meta │ │ │ ├── TweenHDRPEmissiveColorCommand.cs │ │ │ ├── TweenHDRPEmissiveColorCommand.cs.meta │ │ │ ├── TweenHDRPFadeCommand.cs │ │ │ ├── TweenHDRPFadeCommand.cs.meta │ │ │ ├── TweenHDRPFadeUnlitCommand.cs │ │ │ ├── TweenHDRPFadeUnlitCommand.cs.meta │ │ │ ├── TweenHDRPMetallicCommand.cs │ │ │ ├── TweenHDRPMetallicCommand.cs.meta │ │ │ ├── TweenHDRPSmoothnessCommand.cs │ │ │ ├── TweenHDRPSmoothnessCommand.cs.meta │ │ │ ├── TweenHDRPSmoothnessRemapMaxCommand.cs │ │ │ ├── TweenHDRPSmoothnessRemapMaxCommand.cs.meta │ │ │ ├── TweenHDRPSmoothnessRemapMinCommand.cs │ │ │ ├── TweenHDRPSmoothnessRemapMinCommand.cs.meta │ │ │ ├── TweenHDRPSpecularColorCommand.cs │ │ │ ├── TweenHDRPSpecularColorCommand.cs.meta │ │ │ ├── TweenHDRPThicknessCommand.cs │ │ │ ├── TweenHDRPThicknessCommand.cs.meta │ │ │ ├── TweenHDRPThicknessRemapCommand.cs │ │ │ ├── TweenHDRPThicknessRemapCommand.cs.meta │ │ │ ├── TweenHDRPTintCommand.cs │ │ │ ├── TweenHDRPTintCommand.cs.meta │ │ │ ├── TweenHDRPTintUnlitCommand.cs │ │ │ └── TweenHDRPTintUnlitCommand.cs.meta │ │ ├── Transform.meta │ │ ├── Transform │ │ │ ├── TweenNonUniformScaleCommand.cs │ │ │ ├── TweenNonUniformScaleCommand.cs.meta │ │ │ ├── TweenRotationCommand.cs │ │ │ ├── TweenRotationCommand.cs.meta │ │ │ ├── TweenScaleCommand.cs │ │ │ ├── TweenScaleCommand.cs.meta │ │ │ ├── TweenSplineMovementCommand.cs │ │ │ ├── TweenSplineMovementCommand.cs.meta │ │ │ ├── TweenTranslationCommand.cs │ │ │ └── TweenTranslationCommand.cs.meta │ │ ├── URP.meta │ │ └── URP │ │ │ ├── TweenURPBumpScaleCommand.cs │ │ │ ├── TweenURPBumpScaleCommand.cs.meta │ │ │ ├── TweenURPCutoffCommand.cs │ │ │ ├── TweenURPCutoffCommand.cs.meta │ │ │ ├── TweenURPEmissionColorCommand.cs │ │ │ ├── TweenURPEmissionColorCommand.cs.meta │ │ │ ├── TweenURPFadeCommand.cs │ │ │ ├── TweenURPFadeCommand.cs.meta │ │ │ ├── TweenURPMetallicCommand.cs │ │ │ ├── TweenURPMetallicCommand.cs.meta │ │ │ ├── TweenURPOcclusionStrengthCommand.cs │ │ │ ├── TweenURPOcclusionStrengthCommand.cs.meta │ │ │ ├── TweenURPSmoothnessCommand.cs │ │ │ ├── TweenURPSmoothnessCommand.cs.meta │ │ │ ├── TweenURPSpecularColorCommand.cs │ │ │ ├── TweenURPSpecularColorCommand.cs.meta │ │ │ ├── TweenURPTintCommand.cs │ │ │ └── TweenURPTintCommand.cs.meta │ ├── InfoComponents.meta │ └── InfoComponents │ │ ├── Control.meta │ │ ├── Control │ │ ├── TweenPauseInfo.cs │ │ ├── TweenPauseInfo.cs.meta │ │ ├── TweenResumeInfo.cs │ │ ├── TweenResumeInfo.cs.meta │ │ ├── TweenState.cs │ │ └── TweenState.cs.meta │ │ ├── HDRP.meta │ │ ├── HDRP │ │ ├── TweenHDRPAlphaCutoff.cs │ │ ├── TweenHDRPAlphaCutoff.cs.meta │ │ ├── TweenHDRPAmbientOcclusionRemapMax.cs │ │ ├── TweenHDRPAmbientOcclusionRemapMax.cs.meta │ │ ├── TweenHDRPAmbientOcclusionRemapMin.cs │ │ ├── TweenHDRPAmbientOcclusionRemapMin.cs.meta │ │ ├── TweenHDRPDetailAlbedoScale.cs │ │ ├── TweenHDRPDetailAlbedoScale.cs.meta │ │ ├── TweenHDRPDetailNormalScale.cs │ │ ├── TweenHDRPDetailNormalScale.cs.meta │ │ ├── TweenHDRPDetailSmoothnessScale.cs │ │ ├── TweenHDRPDetailSmoothnessScale.cs.meta │ │ ├── TweenHDRPDiffusionProfileHash.cs │ │ ├── TweenHDRPDiffusionProfileHash.cs.meta │ │ ├── TweenHDRPEmissiveColor.cs │ │ ├── TweenHDRPEmissiveColor.cs.meta │ │ ├── TweenHDRPFade.cs │ │ ├── TweenHDRPFade.cs.meta │ │ ├── TweenHDRPFadeUnlit.cs │ │ ├── TweenHDRPFadeUnlit.cs.meta │ │ ├── TweenHDRPMetallic.cs │ │ ├── TweenHDRPMetallic.cs.meta │ │ ├── TweenHDRPSmoothness.cs │ │ ├── TweenHDRPSmoothness.cs.meta │ │ ├── TweenHDRPSmoothnessRemapMax.cs │ │ ├── TweenHDRPSmoothnessRemapMax.cs.meta │ │ ├── TweenHDRPSmoothnessRemapMin.cs │ │ ├── TweenHDRPSmoothnessRemapMin.cs.meta │ │ ├── TweenHDRPSpecularColor.cs │ │ ├── TweenHDRPSpecularColor.cs.meta │ │ ├── TweenHDRPThickness.cs │ │ ├── TweenHDRPThickness.cs.meta │ │ ├── TweenHDRPThicknessRemap.cs │ │ ├── TweenHDRPThicknessRemap.cs.meta │ │ ├── TweenHDRPTint.cs │ │ ├── TweenHDRPTint.cs.meta │ │ ├── TweenHDRPTintUnlit.cs │ │ └── TweenHDRPTintUnlit.cs.meta │ │ ├── Transform.meta │ │ ├── Transform │ │ ├── TweenNonUniformScale.cs │ │ ├── TweenNonUniformScale.cs.meta │ │ ├── TweenRotation.cs │ │ ├── TweenRotation.cs.meta │ │ ├── TweenScale.cs │ │ ├── TweenScale.cs.meta │ │ ├── TweenSplineMovement.cs │ │ ├── TweenSplineMovement.cs.meta │ │ ├── TweenTranslation.cs │ │ └── TweenTranslation.cs.meta │ │ ├── URP.meta │ │ └── URP │ │ ├── TweenURPBumpScale.cs │ │ ├── TweenURPBumpScale.cs.meta │ │ ├── TweenURPCutoff.cs │ │ ├── TweenURPCutoff.cs.meta │ │ ├── TweenURPEmissionColor.cs │ │ ├── TweenURPEmissionColor.cs.meta │ │ ├── TweenURPFade.cs │ │ ├── TweenURPFade.cs.meta │ │ ├── TweenURPMetallic.cs │ │ ├── TweenURPMetallic.cs.meta │ │ ├── TweenURPOcclusionStrength.cs │ │ ├── TweenURPOcclusionStrength.cs.meta │ │ ├── TweenURPSmoothness.cs │ │ ├── TweenURPSmoothness.cs.meta │ │ ├── TweenURPSpecularColor.cs │ │ ├── TweenURPSpecularColor.cs.meta │ │ ├── TweenURPTint.cs │ │ └── TweenURPTint.cs.meta │ ├── ITweenId.cs │ ├── ITweenId.cs.meta │ ├── ITweenInfo.cs │ ├── ITweenInfo.cs.meta │ ├── ITweenParams.cs │ ├── ITweenParams.cs.meta │ ├── Systems.meta │ ├── Systems │ ├── ApplySystems.meta │ ├── ApplySystems │ │ ├── HDRP.meta │ │ ├── HDRP │ │ │ ├── TweenHDRPAlphaCutoffSystem.cs │ │ │ ├── TweenHDRPAlphaCutoffSystem.cs.meta │ │ │ ├── TweenHDRPAmbientOcclusionRemapMaxSystem.cs │ │ │ ├── TweenHDRPAmbientOcclusionRemapMaxSystem.cs.meta │ │ │ ├── TweenHDRPAmbientOcclusionRemapMinSystem.cs │ │ │ ├── TweenHDRPAmbientOcclusionRemapMinSystem.cs.meta │ │ │ ├── TweenHDRPDetailAlbedoScaleSystem.cs │ │ │ ├── TweenHDRPDetailAlbedoScaleSystem.cs.meta │ │ │ ├── TweenHDRPDetailNormalScaleSystem.cs │ │ │ ├── TweenHDRPDetailNormalScaleSystem.cs.meta │ │ │ ├── TweenHDRPDetailSmoothnessScaleSystem.cs │ │ │ ├── TweenHDRPDetailSmoothnessScaleSystem.cs.meta │ │ │ ├── TweenHDRPDiffusionProfileHashSystem.cs │ │ │ ├── TweenHDRPDiffusionProfileHashSystem.cs.meta │ │ │ ├── TweenHDRPEmissiveColorSystem.cs │ │ │ ├── TweenHDRPEmissiveColorSystem.cs.meta │ │ │ ├── TweenHDRPFadeSystem.cs │ │ │ ├── TweenHDRPFadeSystem.cs.meta │ │ │ ├── TweenHDRPFadeUnlitSystem.cs │ │ │ ├── TweenHDRPFadeUnlitSystem.cs.meta │ │ │ ├── TweenHDRPMetallicSystem.cs │ │ │ ├── TweenHDRPMetallicSystem.cs.meta │ │ │ ├── TweenHDRPSmoothnessRemapMaxSystem.cs │ │ │ ├── TweenHDRPSmoothnessRemapMaxSystem.cs.meta │ │ │ ├── TweenHDRPSmoothnessRemapMinSystem.cs │ │ │ ├── TweenHDRPSmoothnessRemapMinSystem.cs.meta │ │ │ ├── TweenHDRPSmoothnessSystem.cs │ │ │ ├── TweenHDRPSmoothnessSystem.cs.meta │ │ │ ├── TweenHDRPSpecularColorSystem.cs │ │ │ ├── TweenHDRPSpecularColorSystem.cs.meta │ │ │ ├── TweenHDRPThicknessRemapSystem.cs │ │ │ ├── TweenHDRPThicknessRemapSystem.cs.meta │ │ │ ├── TweenHDRPThicknessSystem.cs │ │ │ ├── TweenHDRPThicknessSystem.cs.meta │ │ │ ├── TweenHDRPTintSystem.cs │ │ │ ├── TweenHDRPTintSystem.cs.meta │ │ │ ├── TweenHDRPTintUnlitSystem.cs │ │ │ └── TweenHDRPTintUnlitSystem.cs.meta │ │ ├── Transform.meta │ │ ├── Transform │ │ │ ├── TweenNonUniformScaleSystem.cs │ │ │ ├── TweenNonUniformScaleSystem.cs.meta │ │ │ ├── TweenRotationSystem.cs │ │ │ ├── TweenRotationSystem.cs.meta │ │ │ ├── TweenScaleSystem.cs │ │ │ ├── TweenScaleSystem.cs.meta │ │ │ ├── TweenSplineMovementSystem.cs │ │ │ ├── TweenSplineMovementSystem.cs.meta │ │ │ ├── TweenTranslationSystem.cs │ │ │ └── TweenTranslationSystem.cs.meta │ │ ├── URP.meta │ │ └── URP │ │ │ ├── TweenURPBumpScaleSystem.cs │ │ │ ├── TweenURPBumpScaleSystem.cs.meta │ │ │ ├── TweenURPCutoffSystem.cs │ │ │ ├── TweenURPCutoffSystem.cs.meta │ │ │ ├── TweenURPEmissionColorSystem.cs │ │ │ ├── TweenURPEmissionColorSystem.cs.meta │ │ │ ├── TweenURPFadeSystem.cs │ │ │ ├── TweenURPFadeSystem.cs.meta │ │ │ ├── TweenURPMetallicSystem.cs │ │ │ ├── TweenURPMetallicSystem.cs.meta │ │ │ ├── TweenURPOcclusionStrengthSystem.cs │ │ │ ├── TweenURPOcclusionStrengthSystem.cs.meta │ │ │ ├── TweenURPSmoothnessSystem.cs │ │ │ ├── TweenURPSmoothnessSystem.cs.meta │ │ │ ├── TweenURPSpecularColorSystem.cs │ │ │ ├── TweenURPSpecularColorSystem.cs.meta │ │ │ ├── TweenURPTintSystem.cs │ │ │ └── TweenURPTintSystem.cs.meta │ ├── Control.meta │ └── Control │ │ ├── Jobless.meta │ │ ├── Jobless │ │ ├── .idea │ │ │ └── .idea.Jobless.dir │ │ │ │ └── .idea │ │ │ │ ├── encodings.xml │ │ │ │ ├── indexLayout.xml │ │ │ │ ├── projectSettingsUpdater.xml │ │ │ │ ├── vcs.xml │ │ │ │ └── workspace.xml │ │ ├── JoblessTweenGenerateSystem.cs │ │ ├── JoblessTweenGenerateSystem.cs.meta │ │ ├── Spline.meta │ │ └── Spline │ │ │ ├── TweenSplineMovementDestroySystem.cs │ │ │ ├── TweenSplineMovementDestroySystem.cs.meta │ │ │ ├── TweenSplineMovementGenerateSystem.cs │ │ │ └── TweenSplineMovementGenerateSystem.cs.meta │ │ ├── TweenDestroySystem.cs │ │ ├── TweenDestroySystem.cs.meta │ │ ├── TweenEaseSystem.cs │ │ ├── TweenEaseSystem.cs.meta │ │ ├── TweenGenerateSystem.cs │ │ ├── TweenGenerateSystem.cs.meta │ │ ├── TweenPauseSystem.cs │ │ ├── TweenPauseSystem.cs.meta │ │ ├── TweenResumeSystem.cs │ │ ├── TweenResumeSystem.cs.meta │ │ ├── TweenStateSystem.cs │ │ ├── TweenStateSystem.cs.meta │ │ ├── TweenStopSystem.cs │ │ └── TweenStopSystem.cs.meta │ ├── TweenParams.cs │ ├── TweenParams.cs.meta │ ├── TweenSystemGroups.cs │ └── TweenSystemGroups.cs.meta ├── Samples~ ├── StressTest.meta └── StressTest │ ├── Materials.meta │ ├── Materials │ ├── GPUInstancing.mat │ └── GPUInstancing.mat.meta │ ├── Prefabs.meta │ ├── Prefabs │ ├── Cube.prefab │ └── Cube.prefab.meta │ ├── Scenes.meta │ ├── Scenes │ ├── StressTestScene.meta │ ├── StressTestScene.unity │ ├── StressTestScene.unity.meta │ └── StressTestScene │ │ ├── StressTestSubScene.unity │ │ └── StressTestSubScene.unity.meta │ ├── Scripts.meta │ └── Scripts │ ├── DotsTween.Samples.StressTest.asmdef │ ├── DotsTween.Samples.StressTest.asmdef.meta │ ├── StressTestCommandMono.cs │ ├── StressTestCommandMono.cs.meta │ ├── StressTestSystem.cs │ └── StressTestSystem.cs.meta ├── package.json └── package.json.meta /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: NagaChiang 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.idea/.idea.dots-tween.dir/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /contentModel.xml 6 | /projectSettingsUpdater.xml 7 | /modules.xml 8 | /.idea.dots-tween.iml 9 | # Editor-based HTTP Client requests 10 | /httpRequests/ 11 | # Datasource local storage ignored files 12 | /dataSources/ 13 | /dataSources.local.xml 14 | -------------------------------------------------------------------------------- /.idea/.idea.dots-tween.dir/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/.idea.dots-tween.dir/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/.idea.dots-tween.dir/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3459f6c1713e11449ad9aae1456e085 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b6412bb8f760924289b72aeac15ea04 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/CI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4adb3a8d21c5935478036e46fd27def3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor/CI/BuildUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbee32f6937a63d4aab77047137e1237 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/DotsTween.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DotsTween.Editor", 3 | "references": [ 4 | "DotsTween.Runtime" 5 | ], 6 | "includePlatforms": [ 7 | "Editor" 8 | ], 9 | "excludePlatforms": [], 10 | "allowUnsafeCode": false, 11 | "overrideReferences": false, 12 | "precompiledReferences": [], 13 | "autoReferenced": true, 14 | "defineConstraints": [], 15 | "versionDefines": [], 16 | "noEngineReferences": false 17 | } -------------------------------------------------------------------------------- /Editor/DotsTween.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52f46dad79b224548b905f27d109910b 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Cheng-Han Chiang 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. -------------------------------------------------------------------------------- /LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6b384881cca8c145a0a974a408c9132 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbdbcbd61e687a54aa297fcf1ec295a3 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f5d63307bc434e4b92caf4fea9bbb96 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/DotsTween.Runtime.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DotsTween.Runtime", 3 | "rootNamespace": "", 4 | "references": [ 5 | "Unity.Entities", 6 | "Unity.Mathematics", 7 | "Unity.Transforms", 8 | "Unity.Burst", 9 | "Unity.Collections", 10 | "Unity.Entities.Graphics", 11 | "Unity.Splines" 12 | ], 13 | "includePlatforms": [], 14 | "excludePlatforms": [], 15 | "allowUnsafeCode": false, 16 | "overrideReferences": false, 17 | "precompiledReferences": [], 18 | "autoReferenced": true, 19 | "defineConstraints": [], 20 | "versionDefines": [ 21 | { 22 | "name": "com.unity.render-pipelines.universal", 23 | "expression": "", 24 | "define": "DOTS_TWEEN_URP" 25 | }, 26 | { 27 | "name": "com.unity.render-pipelines.high-definition", 28 | "expression": "", 29 | "define": "DOTS_TWEEN_HDRP" 30 | }, 31 | { 32 | "name": "com.unity.splines", 33 | "expression": "", 34 | "define": "DOTS_TWEEN_SPLINES" 35 | } 36 | ], 37 | "noEngineReferences": false 38 | } -------------------------------------------------------------------------------- /Runtime/DotsTween.Runtime.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdfcb833aa7f7ab40947b77743b3fe84 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Math.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 383984762ab1e0d47926acc8af4305bf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Math/EaseType.cs: -------------------------------------------------------------------------------- 1 | namespace DotsTween.Math 2 | { 3 | public enum EaseType : byte 4 | { 5 | Linear = 0, 6 | QuadraticIn, 7 | QuadraticOut, 8 | QuadraticInOut, 9 | CubicIn, 10 | CubicOut, 11 | CubicInOut, 12 | QuarticIn, 13 | QuarticOut, 14 | QuarticInOut, 15 | QuinticIn, 16 | QuinticOut, 17 | QuinticInOut, 18 | SinusoidalIn, 19 | SinusoidalOut, 20 | SinusoidalInOut, 21 | ExponentialIn, 22 | ExponentialOut, 23 | ExponentialInOut, 24 | CircularIn, 25 | CircularOut, 26 | CircularInOut, 27 | ElasticIn, 28 | ElasticOut, 29 | ElasticInOut, 30 | BackIn, 31 | BackOut, 32 | BackInOut, 33 | BounceIn, 34 | BounceOut, 35 | BounceInOut 36 | } 37 | } -------------------------------------------------------------------------------- /Runtime/Math/EaseType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44e2929ede7abf94994f534a7141970a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Math/EasingFunctions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38942cc5911c4d0a8b2a880c4290715e 3 | timeCreated: 1673883073 -------------------------------------------------------------------------------- /Runtime/Math/Extensions.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.CompilerServices; 2 | using Unity.Burst; 3 | using Unity.Mathematics; 4 | using UnityEngine; 5 | 6 | namespace DotsTween.Math 7 | { 8 | [BurstCompile] 9 | internal static class Extensions 10 | { 11 | [BurstCompile] 12 | [MethodImpl(MethodImplOptions.AggressiveInlining)] 13 | public static void ToFloat4(in this Color color, out float4 f4) 14 | { 15 | f4 = new float4(color.r, color.g, color.b, color.a); 16 | } 17 | 18 | /// 19 | /// Truncates alpha channel. 20 | /// 21 | /// 22 | /// 23 | [BurstCompile] 24 | [MethodImpl(MethodImplOptions.AggressiveInlining)] 25 | public static void ToFloat3(in this Color color, out float3 f3) 26 | { 27 | f3 = new float3(color.r, color.g, color.b); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Runtime/Math/Extensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b6ba68b4aa94678bb43db2ac026a36c 3 | timeCreated: 1674679380 -------------------------------------------------------------------------------- /Runtime/Static.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65d2ec59840645afab139f11b8e640f2 3 | timeCreated: 1676561093 -------------------------------------------------------------------------------- /Runtime/Static/HDRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3461a23d4d7448eab5721436458b7141 3 | timeCreated: 1676580521 -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.AlphaCutoff.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f66445b0f11766347a9660b566db24cf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.AmbientOcclusionRemapMax.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ad8ecd82efd86242bb2eab4d3dadfa1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.AmbientOcclusionRemapMin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58a14025fab9daf4eb544384c260c40f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.DetailAlbedoScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52b4e3c069fa35b47bb34a0f09916a1e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.DetailNormalScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 596d693ce9952654caf72ec1642523db 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.DetailSmoothnessScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab9dc34fd5da82142838612928004c51 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.DiffusionProfileHash.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 437144f962704084eae687b49a3ab1ac 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.EmissiveColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a568ebc527bcce4e9d01c760eb70810 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.Fade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04d8c13c3609c96448a1cebab649a722 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.FadeUnlit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f785c87c031f78438eef62a79c8953e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.Metallic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d18b2b85cc305d42992df6add9f69bd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.Smoothness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1043e5dd2bc52cf47822d5500269227c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.SmoothnessRemapMax.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2c4bd72faa67fb4a9652adfd1d313c2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.SmoothnessRemapMin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83542d501944de3419c27b241d8c6f9e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.SpecularColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49329fe7edd475644abb17d35f2c14c7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.Thickness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06d8f7c44a319394ea00b7a45107f453 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.ThicknessRemap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e5b5c0392d7faa4e94c97d7387210e7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.Tint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8b949713a113f14799c2d0602e3be55 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/HDRP/Tween.HDRP.TintUnlit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d045e0e00488ee48abef1ad6d1b5fbd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/Transform.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2437505c0c948e59f8dd1bc697baf1a 3 | timeCreated: 1676561158 -------------------------------------------------------------------------------- /Runtime/Static/Transform/Tween.Move.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1883b8c8c03e4430b438a34036dbc93e 3 | timeCreated: 1676561243 -------------------------------------------------------------------------------- /Runtime/Static/Transform/Tween.MoveSpline.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1089fb2e06fc4d8186d8912f0ad13b84 3 | timeCreated: 1677783193 -------------------------------------------------------------------------------- /Runtime/Static/Transform/Tween.NonUniformScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6cc7ba51b0c4092bb39d438ed3ef0bc 3 | timeCreated: 1676561443 -------------------------------------------------------------------------------- /Runtime/Static/Transform/Tween.Rotate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8535f8215f2d4bccbd39c9011c3abc6d 3 | timeCreated: 1676561376 -------------------------------------------------------------------------------- /Runtime/Static/Transform/Tween.Scale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cfef085d9344977a1b67d24e1e1a477 3 | timeCreated: 1676561412 -------------------------------------------------------------------------------- /Runtime/Static/Tween.Controls.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3e690fd508e4cd586d79d7292857fa5 3 | timeCreated: 1676561035 -------------------------------------------------------------------------------- /Runtime/Static/Tween.Timeline.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b51b675abf614375904e03718cbefeae 3 | timeCreated: 1676561671 -------------------------------------------------------------------------------- /Runtime/Static/Tween.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | 3 | namespace DotsTween 4 | { 5 | /// 6 | /// This file is just for providing burst compile 7 | /// 8 | 9 | [BurstCompile] 10 | public static partial class Tween 11 | { 12 | #if DOTS_TWEEN_URP 13 | [BurstCompile] 14 | public static partial class URP 15 | { 16 | } 17 | #elif DOTS_TWEEN_HDRP 18 | [BurstCompile] 19 | public static partial class HDRP 20 | { 21 | } 22 | #endif 23 | } 24 | } -------------------------------------------------------------------------------- /Runtime/Static/Tween.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f208f2cbb6daf24ea1388dabd28e3b1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Static/URP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b155734fe95949ea8d0c3ea40996ceea 3 | timeCreated: 1676561465 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.BumpScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea60bc590d4949a5a3c7a8a10a304d1d 3 | timeCreated: 1676564890 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.Cutoff.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f318a2cfdcde4e978efc034400e431f1 3 | timeCreated: 1676564945 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.EmissionColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dad0562ea464005a0c2a38e9bdc05e0 3 | timeCreated: 1676561603 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.Fade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60a286fb1a314edc931e8e304583a14a 3 | timeCreated: 1676561794 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.Metallic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6860f14c22b847f7bd39d976ac4d7ea4 3 | timeCreated: 1676564975 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.OcclusionStrength.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7a1db4356674841856f6521ddecc27a 3 | timeCreated: 1676565006 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.Smoothness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e582d710cd84ed4a64d8748b6d43b2c 3 | timeCreated: 1676565046 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.SpecularColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e051df3742c84ac18d89df4678a80daf 3 | timeCreated: 1676561752 -------------------------------------------------------------------------------- /Runtime/Static/URP/Tween.URP.Tint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a11ffc44ca3f488e8cc62d10ef18e643 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Timelines.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76a6fce93d604bbf88a142fdd24a0ca8 3 | timeCreated: 1676392127 -------------------------------------------------------------------------------- /Runtime/Timelines/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2ad5fcbe8f849bda9f9b976bf581423 3 | timeCreated: 1676392140 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/ITimelineElement.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | 3 | namespace DotsTween.Timelines 4 | { 5 | internal interface ITimelineElement 6 | { 7 | public uint GetId(); 8 | public Entity GetTargetEntity(); 9 | public float GetStartTime(); 10 | public float GetEndTime(); 11 | public IComponentData GetCommand(); 12 | public uint GetTweenId(); 13 | } 14 | } -------------------------------------------------------------------------------- /Runtime/Timelines/Components/ITimelineElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3a56ba9f2584baf97fde8d0bfda7006 3 | timeCreated: 1678057849 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85313a60118d49aabd4f4f2571c6e9b1 3 | timeCreated: 1675958438 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineComponentOperationTuple.cs: -------------------------------------------------------------------------------- 1 | using DotsTween.Tweens; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Timelines 5 | { 6 | internal struct TimelineComponentOperationTuple 7 | { 8 | internal Entity Target; 9 | internal ComponentOperations Operations; 10 | } 11 | } -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineComponentOperationTuple.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 313b32dc6249408e8549cbd7ea803d5e 3 | timeCreated: 1678062645 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineControlCommand.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Timelines 5 | { 6 | [BurstCompile] 7 | internal struct TimelineControlCommand : IComponentData 8 | { 9 | public uint TimelinePlaybackId; 10 | public TimelineControlCommands Command; 11 | } 12 | 13 | internal enum TimelineControlCommands : byte 14 | { 15 | Resume = 0, 16 | Pause = 1, 17 | Stop = 2, 18 | } 19 | } -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineControlCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f371f4edc01b42ba879487abd61e570b 3 | timeCreated: 1676409802 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineDestroyTag.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Timelines 5 | { 6 | [BurstCompile] 7 | public struct TimelineDestroyTag : IComponentData 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineDestroyTag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f36a0c48f3146f1909725f9b74e7d82 3 | timeCreated: 1676410971 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelineElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 548ee3a0e38248d4950af3a9819201c1 3 | timeCreated: 1676406326 -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelinePauseTag.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Timelines 5 | { 6 | [BurstCompile] 7 | public struct TimelinePausedTag : IComponentData 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /Runtime/Timelines/Components/TimelinePauseTag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e9c806929214c84842b8f1bfb6575f5 3 | timeCreated: 1676410901 -------------------------------------------------------------------------------- /Runtime/Timelines/Systems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b78f4d790ca449c96d528d0887acb55 3 | timeCreated: 1676392146 -------------------------------------------------------------------------------- /Runtime/Timelines/Systems/TimelineControlSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba0070aa6243439c9a553ae517eb98c2 3 | timeCreated: 1676409249 -------------------------------------------------------------------------------- /Runtime/Timelines/Systems/TimelineDestroySystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d847031ae494232a6d88fdd1264cdde 3 | timeCreated: 1676410267 -------------------------------------------------------------------------------- /Runtime/Timelines/Systems/TimelinePlaybackSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1f945307cee466faa023603a3c6eeed 3 | timeCreated: 1676473903 -------------------------------------------------------------------------------- /Runtime/Timelines/Systems/TimelineSystemCommandTypeHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf04be4e52ea47488073e05113fd5278 3 | timeCreated: 1678059506 -------------------------------------------------------------------------------- /Runtime/Timelines/TimelineSystemGroups.cs: -------------------------------------------------------------------------------- 1 | using DotsTween.Tweens; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Timelines 5 | { 6 | [UpdateInGroup(typeof(SimulationSystemGroup))] 7 | [UpdateBefore(typeof(TweenSimulationSystemGroup))] 8 | internal partial class TimelineSimulationSystemGroup : ComponentSystemGroup {} 9 | } -------------------------------------------------------------------------------- /Runtime/Timelines/TimelineSystemGroups.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ee3ffe3e45b44e78055195a6b97181c 3 | timeCreated: 1676409412 -------------------------------------------------------------------------------- /Runtime/Tweens.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 551d435ac88cfff4ab12c3ec3f612094 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Tweens/ComponentOperations.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe6f0b4a90b246e4b728f6c8da9d485a 3 | timeCreated: 1676393570 -------------------------------------------------------------------------------- /Runtime/Tweens/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f29f239eab6a42c4ea54769ea096b144 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84f6a1ebbbcc430aa22a8a77ee9339fb 3 | timeCreated: 1676559299 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e5f1d1a0a6b43e795bce4742a3fcd4f 3 | timeCreated: 1676559333 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenDestroyCommand.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Tweens 5 | { 6 | [BurstCompile] 7 | public struct TweenDestroyCommand : IBufferElementData 8 | { 9 | internal readonly uint TweenId; 10 | 11 | public TweenDestroyCommand(uint tweenId) 12 | { 13 | TweenId = tweenId; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenDestroyCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d09946cecf8e2a4d93ec97a92c4de61 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenPauseCommand.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Tweens 5 | { 6 | [BurstCompile] 7 | internal struct TweenPauseCommand : IComponentData 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenPauseCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5a7b69864eb462980068b82374bef3d 3 | timeCreated: 1678809070 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenResumeCommand.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Tweens 5 | { 6 | [BurstCompile] 7 | internal struct TweenResumeCommand : IComponentData 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenResumeCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c56852e9693c759409565b2d6ae2fc9e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenStopCommand.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Tweens 5 | { 6 | [BurstCompile] 7 | internal struct TweenStopCommand : IComponentData 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Control/TweenStopCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b23d5a71aa3b8784db9b7972048a9225 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c456025bd224370bb2557fb9f82da71 3 | timeCreated: 1676580527 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPAlphaCutoffCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPAlphaCutoffCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPAlphaCutoffCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPAlphaCutoffCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e718ae4d94c5c34438b00d650da840a4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPAmbientOcclusionRemapMaxCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a391f049997a2d5449cf071b04bb748a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPAmbientOcclusionRemapMinCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4a8bb4436aa7674e89e272e51f03418 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPDetailAlbedoScaleCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPDetailAlbedoScaleCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPDetailAlbedoScaleCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPDetailAlbedoScaleCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3d888262a3d0f847b9c175a9ae24a5c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPDetailNormalScaleCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPDetailNormalScaleCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPDetailNormalScaleCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPDetailNormalScaleCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3dd434222c43c884a89f303088947962 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPDetailSmoothnessScaleCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c16cb79bb2c6e784d8b8ca803cf02df0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPDiffusionProfileHashCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 719102165f0679448985e0fafb182209 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPEmissiveColorCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab27e0a5a6c75374b8590b70e44253eb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPFadeCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPFadeCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPFadeCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPFadeCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36c61b997d384484fa9e277051a4b1e4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPFadeUnlitCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPFadeUnlitCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPFadeUnlitCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPFadeUnlitCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40e41da288cc7e94d8936fa62095f5cd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPMetallicCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPMetallicCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPMetallicCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPMetallicCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 465f309e50b1c52469f28a3f0d3a091c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPSmoothnessCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPSmoothnessCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPSmoothnessCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPSmoothnessCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47a2415beadb5cb4792c865649e7e086 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPSmoothnessRemapMaxCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 029409ed459f42043b63859e8d95802e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPSmoothnessRemapMinCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afe9675ec2dd22645aa2d9dbb09b18f1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPSpecularColorCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca0427e66b90d594aa2bee98e7aa1050 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPThicknessCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenHDRPThicknessCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenHDRPThicknessCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPThicknessCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c4019408c937a847be77718ba7b1b58 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPThicknessRemapCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9cb522f418106584e95239a275dad600 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPTintCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | public struct TweenHDRPTintCommand : IComponentData, ITweenParams, ITweenInfo 10 | { 11 | public TweenParams TweenParams; 12 | public float4 Start; 13 | public float4 End; 14 | 15 | public TweenHDRPTintCommand(in Entity entity, in float4 start, in float4 end, in float duration, TweenParams tweenParams = default) 16 | { 17 | tweenParams.Duration = duration; 18 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 19 | TweenParams = tweenParams; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenInfo(in float4 start, in float4 end) 25 | { 26 | Start = start; 27 | End = end; 28 | } 29 | 30 | public void SetTweenParams(in TweenParams tweenParams) 31 | { 32 | TweenParams = tweenParams; 33 | } 34 | 35 | public TweenParams GetTweenParams() 36 | { 37 | return TweenParams; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPTintCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4a44a16e540512429c481ef2d03247d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/HDRP/TweenHDRPTintUnlitCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcc63c7e490f12346bada3aba3ca8419 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Transform.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94d0891ecc744955b2bc4a90b346f212 3 | timeCreated: 1676559349 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Transform/TweenNonUniformScaleCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95137d41dbf1f0942b4cabbb4ccbd184 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Transform/TweenRotationCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26b202fede7197b4781cf7aaa140eead 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Transform/TweenScaleCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 353b3278cdcc33c49975f3da6680f69b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Transform/TweenSplineMovementCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ed6ac1fea7646e0849ab38898f421eb 3 | timeCreated: 1677786405 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/Transform/TweenTranslationCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1d8e88d1c794e2409bbdf884262913b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86ed991918824aa99a1999a5ecfdf144 3 | timeCreated: 1676559353 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPBumpScaleCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenURPBumpScaleCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenURPBumpScaleCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPBumpScaleCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81cf3bcfdd7149658585595ad8f9f0c1 3 | timeCreated: 1676560622 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPCutoffCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenURPCutoffCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenURPCutoffCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPCutoffCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64c9062338b74a3ea56258c6a32e8f0e 3 | timeCreated: 1676560625 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPEmissionColorCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c09705583294e17a08d31c857df06a0 3 | timeCreated: 1676560547 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPFadeCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenURPFadeCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenURPFadeCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPFadeCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d516f582380e4e1bbb02e43c32c34686 3 | timeCreated: 1676557922 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPMetallicCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenURPMetallicCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenURPMetallicCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPMetallicCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc2ff6ec7cb48fbb529a4b2cbfdaae3 3 | timeCreated: 1676560628 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPOcclusionStrengthCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6ef9d8e784d4dd0acab95ee9307f925 3 | timeCreated: 1676560634 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPSmoothnessCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | public struct TweenURPSmoothnessCommand : IComponentData, ITweenParams, ITweenInfo 9 | { 10 | public TweenParams TweenParams; 11 | public float Start; 12 | public float End; 13 | 14 | public TweenURPSmoothnessCommand(in Entity entity, in float start, in float end, in float duration, TweenParams tweenParams = default) 15 | { 16 | tweenParams.Duration = duration; 17 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 18 | TweenParams = tweenParams; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenInfo(in float start, in float end) 24 | { 25 | Start = start; 26 | End = end; 27 | } 28 | 29 | public void SetTweenParams(in TweenParams tweenParams) 30 | { 31 | TweenParams = tweenParams; 32 | } 33 | 34 | public TweenParams GetTweenParams() 35 | { 36 | return TweenParams; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPSmoothnessCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5784c5d5fb24367bef5b0ba573cca14 3 | timeCreated: 1676558464 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPSpecularColorCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e74fcc42a0a4cb4a0b0041dff456f3b 3 | timeCreated: 1676560555 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPTintCommand.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | public struct TweenURPTintCommand : IComponentData, ITweenParams, ITweenInfo 10 | { 11 | public TweenParams TweenParams; 12 | public float4 Start; 13 | public float4 End; 14 | 15 | public TweenURPTintCommand(in Entity entity, in float4 start, in float4 end, in float duration, TweenParams tweenParams = default) 16 | { 17 | tweenParams.Duration = duration; 18 | tweenParams.Id = tweenParams.GenerateId(entity.GetHashCode(), start.GetHashCode(), end.GetHashCode(), TypeManager.GetTypeIndex().Value); 19 | TweenParams = tweenParams; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenInfo(in float4 start, in float4 end) 25 | { 26 | Start = start; 27 | End = end; 28 | } 29 | 30 | public void SetTweenParams(in TweenParams tweenParams) 31 | { 32 | TweenParams = tweenParams; 33 | } 34 | 35 | public TweenParams GetTweenParams() 36 | { 37 | return TweenParams; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/Commands/URP/TweenURPTintCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d24d760bffb0d6b47b432e32c6e44987 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab5253901b70ca34a824b35ab47a21b4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Control.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f12f3afde94a42d19c914c540ad0725d 3 | timeCreated: 1676559529 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Control/TweenPauseInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Tweens 5 | { 6 | public struct TweenPauseInfo : IBufferElementData 7 | { 8 | internal readonly uint TweenId; 9 | [MarshalAs(UnmanagedType.U1)] internal readonly bool SpecificTweenTarget; 10 | 11 | public TweenPauseInfo(uint tweenId) 12 | { 13 | TweenId = tweenId; 14 | SpecificTweenTarget = true; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Control/TweenPauseInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5f5819c4ff042a4bf8677a77dec3c3c 3 | timeCreated: 1678823074 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Control/TweenResumeInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using Unity.Entities; 3 | 4 | namespace DotsTween.Tweens 5 | { 6 | public struct TweenResumeInfo : IBufferElementData 7 | { 8 | internal readonly uint TweenId; 9 | [MarshalAs(UnmanagedType.U1)] internal readonly bool SpecificTweenTarget; 10 | 11 | public TweenResumeInfo(uint tweenId) 12 | { 13 | TweenId = tweenId; 14 | SpecificTweenTarget = true; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Control/TweenResumeInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 003c691615224d8a90c3041af6dca7f2 3 | timeCreated: 1678823906 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Control/TweenState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65d03fd8957544f45a9fe19debf238a6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c28dc720e7414219a4ddaaa32cfcf933 3 | timeCreated: 1676580533 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPAlphaCutoff.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyAlphaCutoff))] 10 | internal struct TweenHDRPAlphaCutoff : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPAlphaCutoff(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPAlphaCutoff.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0fa906700461984e8c4428dc712d3e7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPAmbientOcclusionRemapMax.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyAORemapMax))] 10 | internal struct TweenHDRPAmbientOcclusionRemapMax : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPAmbientOcclusionRemapMax(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPAmbientOcclusionRemapMax.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59f45521bec960b49b64a9f3ab77c66a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPAmbientOcclusionRemapMin.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyAORemapMin))] 10 | internal struct TweenHDRPAmbientOcclusionRemapMin : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPAmbientOcclusionRemapMin(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPAmbientOcclusionRemapMin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e250c39e50b32a48b828495440b358e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDetailAlbedoScale.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyDetailAlbedoScale))] 10 | internal struct TweenHDRPDetailAlbedoScale : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPDetailAlbedoScale(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDetailAlbedoScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80f02cc745ccf354ebb580cf2f89644e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDetailNormalScale.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyDetailNormalScale))] 10 | internal struct TweenHDRPDetailNormalScale : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPDetailNormalScale(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDetailNormalScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f39b4ce6f7398c045943447fca47c711 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDetailSmoothnessScale.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyDetailSmoothnessScale))] 10 | internal struct TweenHDRPDetailSmoothnessScale : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPDetailSmoothnessScale(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDetailSmoothnessScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 978ec42772e5416489ff068c6417f011 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDiffusionProfileHash.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyDiffusionProfileHash))] 10 | internal struct TweenHDRPDiffusionProfileHash : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPDiffusionProfileHash(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPDiffusionProfileHash.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac80b03a72a0cef439c2f9b41456b700 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPEmissiveColor.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(HDRPMaterialPropertyEmissiveColor))] 11 | internal struct TweenHDRPEmissiveColor : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float3 Start; 15 | public float3 End; 16 | 17 | public TweenHDRPEmissiveColor(in uint id, in float3 start, in float3 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float3 start, in float3 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float3 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float3 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPEmissiveColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3091252f340c1e340b4e5a16a96f00a9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPFade.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyBaseColor))] 10 | internal struct TweenHDRPFade : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPFade(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPFade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 049a7baea1464a189d1a69a893b77f02 3 | timeCreated: 1676580744 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPFadeUnlit.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyUnlitColor))] 10 | internal struct TweenHDRPFadeUnlit : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPFadeUnlit(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPFadeUnlit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa0daa780860400f80962e8ae9fd2f49 3 | timeCreated: 1676580812 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPMetallic.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyMetallic))] 10 | internal struct TweenHDRPMetallic : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPMetallic(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPMetallic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1856902fbd81d3048ad2ffb24a830642 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSmoothness.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertySmoothness))] 10 | internal struct TweenHDRPSmoothness : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPSmoothness(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSmoothness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 015cf320b9affaa49ac4758eea801eb6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSmoothnessRemapMax.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertySmoothnessRemapMax))] 10 | internal struct TweenHDRPSmoothnessRemapMax : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPSmoothnessRemapMax(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSmoothnessRemapMax.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68d93d29e4405b54c8d79cf1d1955cba 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSmoothnessRemapMin.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertySmoothnessRemapMin))] 10 | internal struct TweenHDRPSmoothnessRemapMin : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPSmoothnessRemapMin(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSmoothnessRemapMin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb7fe569c30413f4fbe06539684b4911 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSpecularColor.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(HDRPMaterialPropertySpecularColor))] 11 | internal struct TweenHDRPSpecularColor : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenHDRPSpecularColor(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPSpecularColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47eb745db779e044f993d11e22ca6c82 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPThickness.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(HDRPMaterialPropertyThickness))] 10 | internal struct TweenHDRPThickness : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenHDRPThickness(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPThickness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c95666a62905d3643bf08bcd541711e0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPThicknessRemap.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(HDRPMaterialPropertyThicknessRemap))] 11 | internal struct TweenHDRPThicknessRemap : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenHDRPThicknessRemap(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPThicknessRemap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ba2c864a94244445a9937bae0b3c398 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPTint.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(HDRPMaterialPropertyBaseColor))] 11 | internal struct TweenHDRPTint : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenHDRPTint(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPTint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e1c74c5d1134fe8ba7cbb23c6049bda 3 | timeCreated: 1676580602 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPTintUnlit.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(HDRPMaterialPropertyUnlitColor))] 11 | internal struct TweenHDRPTintUnlit : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenHDRPTintUnlit(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/HDRP/TweenHDRPTintUnlit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a1ed63c961c429f8bb843a93d330759 3 | timeCreated: 1676580692 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b71139ee74c44ad8a8cefec3f5460abc 3 | timeCreated: 1676559520 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenNonUniformScale.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Mathematics; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(PostTransformMatrix))] 10 | internal struct TweenNonUniformScale : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float3 Start; 14 | public float3 End; 15 | 16 | public TweenNonUniformScale(in uint id, in float3 start, in float3 end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | [BurstCompile] 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | [BurstCompile] 30 | public uint GetTweenId() 31 | { 32 | return Id; 33 | } 34 | 35 | [BurstCompile] 36 | public void SetTweenInfo(in float3 start, in float3 end) 37 | { 38 | Start = start; 39 | End = end; 40 | } 41 | 42 | [BurstCompile] 43 | public float3 GetTweenStart() 44 | { 45 | return Start; 46 | } 47 | 48 | [BurstCompile] 49 | public float3 GetTweenEnd() 50 | { 51 | return End; 52 | } 53 | 54 | [BurstCompile] public void Cleanup() { } 55 | } 56 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenNonUniformScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 319f0435d347a20429eb613d823f3513 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenRotation.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Mathematics; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(LocalTransform))] 10 | internal struct TweenRotation : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public quaternion Start; 14 | public quaternion End; 15 | 16 | public TweenRotation(in uint id, in quaternion start, in quaternion end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | [BurstCompile] 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | [BurstCompile] 30 | public uint GetTweenId() 31 | { 32 | return Id; 33 | } 34 | 35 | [BurstCompile] 36 | public void SetTweenInfo(in quaternion start, in quaternion end) 37 | { 38 | Start = start; 39 | End = end; 40 | } 41 | 42 | [BurstCompile] 43 | public quaternion GetTweenStart() 44 | { 45 | return Start; 46 | } 47 | 48 | [BurstCompile] 49 | public quaternion GetTweenEnd() 50 | { 51 | return End; 52 | } 53 | 54 | [BurstCompile] public void Cleanup() { } 55 | } 56 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenRotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c93681f42d4747458c6d3233486d41b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenScale.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Transforms; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | [WriteGroup(typeof(LocalTransform))] 9 | internal struct TweenScale : IComponentData, ITweenId, ITweenInfo 10 | { 11 | public uint Id; 12 | public float Start; 13 | public float End; 14 | 15 | public TweenScale(in uint id, in float start, in float end) 16 | { 17 | Id = id; 18 | Start = start; 19 | End = end; 20 | } 21 | 22 | [BurstCompile] 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | [BurstCompile] 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | [BurstCompile] 35 | public void SetTweenInfo(in float start, in float end) 36 | { 37 | Start = start; 38 | End = end; 39 | } 40 | 41 | [BurstCompile] 42 | public float GetTweenStart() 43 | { 44 | return Start; 45 | } 46 | 47 | [BurstCompile] 48 | public float GetTweenEnd() 49 | { 50 | return End; 51 | } 52 | 53 | [BurstCompile] public void Cleanup() { } 54 | } 55 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce0d8cb50aab5eb4b91dc71e0b8af26c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenSplineMovement.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_SPLINES 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(LocalTransform))] 10 | internal struct TweenSplineMovement : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public SplineTweenInfo SplineTweenInfo; 14 | 15 | public TweenSplineMovement(in uint id, in SplineTweenInfo start, in SplineTweenInfo end = default) 16 | { 17 | Id = id; 18 | SplineTweenInfo = start; 19 | } 20 | 21 | [BurstCompile] 22 | public void SetTweenId(in uint id) 23 | { 24 | Id = id; 25 | } 26 | 27 | [BurstCompile] 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | [BurstCompile] 34 | public void SetTweenInfo(in SplineTweenInfo start, in SplineTweenInfo end = default) 35 | { 36 | SplineTweenInfo = start; 37 | } 38 | 39 | [BurstCompile] 40 | public SplineTweenInfo GetTweenStart() 41 | { 42 | return SplineTweenInfo; 43 | } 44 | 45 | [BurstCompile] 46 | public SplineTweenInfo GetTweenEnd() 47 | { 48 | return SplineTweenInfo; 49 | } 50 | 51 | [BurstCompile] public void Cleanup() 52 | { 53 | SplineTweenInfo.Dispose(); 54 | } 55 | } 56 | } 57 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenSplineMovement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f7ca7850c914156a2857222d4593dd2 3 | timeCreated: 1677790740 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenTranslation.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Mathematics; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(LocalTransform))] 10 | internal struct TweenTranslation : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float3 Start; 14 | public float3 End; 15 | 16 | public TweenTranslation(in uint id, in float3 start, in float3 end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | [BurstCompile] 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | [BurstCompile] 30 | public uint GetTweenId() 31 | { 32 | return Id; 33 | } 34 | 35 | [BurstCompile] 36 | public void SetTweenInfo(in float3 start, in float3 end) 37 | { 38 | Start = start; 39 | End = end; 40 | } 41 | 42 | [BurstCompile] 43 | public float3 GetTweenStart() 44 | { 45 | return Start; 46 | } 47 | 48 | [BurstCompile] 49 | public float3 GetTweenEnd() 50 | { 51 | return End; 52 | } 53 | 54 | [BurstCompile] public void Cleanup() { } 55 | } 56 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/Transform/TweenTranslation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3d8b7b74a54927418e7048536624eaf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f383883721374ea7bb2365867b4636e2 3 | timeCreated: 1674785175 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPBumpScale.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(URPMaterialPropertyBumpScale))] 10 | internal struct TweenURPBumpScale : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenURPBumpScale(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPBumpScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efe49639ea184a21b7cd26e7d81f1fad 3 | timeCreated: 1676558764 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPCutoff.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(URPMaterialPropertyCutoff))] 10 | internal struct TweenURPCutoff : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenURPCutoff(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPCutoff.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c26e42e9119d47838f0552a1962d8bb4 3 | timeCreated: 1676558770 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPEmissionColor.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(URPMaterialPropertyEmissionColor))] 11 | internal struct TweenURPEmissionColor : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenURPEmissionColor(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPEmissionColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1281a633cdc44bb9aa9cd7d786db432d 3 | timeCreated: 1676559995 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPFade.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(URPMaterialPropertyBaseColor))] 10 | internal struct TweenURPFade : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenURPFade(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPFade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d9c57f86c114d88b48592c6b6d0e1a0 3 | timeCreated: 1676557712 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPMetallic.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(URPMaterialPropertyMetallic))] 10 | internal struct TweenURPMetallic : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenURPMetallic(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPMetallic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fee31026dbf34a9a8a303e58cf4fb31e 3 | timeCreated: 1676558548 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPOcclusionStrength.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(URPMaterialPropertyOcclusionStrength))] 10 | internal struct TweenURPOcclusionStrength : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenURPOcclusionStrength(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPOcclusionStrength.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9d1780520f540ecb3b4ee598e18c292 3 | timeCreated: 1676559887 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPSmoothness.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Rendering; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [WriteGroup(typeof(URPMaterialPropertySmoothness))] 10 | internal struct TweenURPSmoothness : IComponentData, ITweenId, ITweenInfo 11 | { 12 | public uint Id; 13 | public float Start; 14 | public float End; 15 | 16 | public TweenURPSmoothness(in uint id, in float start, in float end) 17 | { 18 | Id = id; 19 | Start = start; 20 | End = end; 21 | } 22 | 23 | public void SetTweenId(in uint id) 24 | { 25 | Id = id; 26 | } 27 | 28 | public uint GetTweenId() 29 | { 30 | return Id; 31 | } 32 | 33 | public void SetTweenInfo(in float start, in float end) 34 | { 35 | Start = start; 36 | End = end; 37 | } 38 | 39 | public float GetTweenStart() 40 | { 41 | return Start; 42 | } 43 | 44 | public float GetTweenEnd() 45 | { 46 | return End; 47 | } 48 | 49 | [BurstCompile] public void Cleanup() { } 50 | } 51 | } 52 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPSmoothness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8b0a01e776f4246b5515471c29eec27 3 | timeCreated: 1676558425 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPSpecularColor.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(URPMaterialPropertySpecColor))] 11 | internal struct TweenURPSpecularColor : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenURPSpecularColor(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPSpecularColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3352370edb0a4acbb5e01f327356212c 3 | timeCreated: 1676559999 -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPTint.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [WriteGroup(typeof(URPMaterialPropertyBaseColor))] 11 | internal struct TweenURPTint : IComponentData, ITweenId, ITweenInfo 12 | { 13 | public uint Id; 14 | public float4 Start; 15 | public float4 End; 16 | 17 | public TweenURPTint(in uint id, in float4 start, in float4 end) 18 | { 19 | Id = id; 20 | Start = start; 21 | End = end; 22 | } 23 | 24 | public void SetTweenId(in uint id) 25 | { 26 | Id = id; 27 | } 28 | 29 | public uint GetTweenId() 30 | { 31 | return Id; 32 | } 33 | 34 | public void SetTweenInfo(in float4 start, in float4 end) 35 | { 36 | Start = start; 37 | End = end; 38 | } 39 | 40 | public float4 GetTweenStart() 41 | { 42 | return Start; 43 | } 44 | 45 | public float4 GetTweenEnd() 46 | { 47 | return End; 48 | } 49 | 50 | [BurstCompile] public void Cleanup() { } 51 | } 52 | } 53 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Components/InfoComponents/URP/TweenURPTint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 252ef38a6c9adea4484d162bb3bcd1cf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/ITweenId.cs: -------------------------------------------------------------------------------- 1 | namespace DotsTween.Tweens 2 | { 3 | internal interface ITweenId 4 | { 5 | void SetTweenId(in uint id); 6 | uint GetTweenId(); 7 | } 8 | } -------------------------------------------------------------------------------- /Runtime/Tweens/ITweenId.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c01bb098c3360e14198f41e2abba5468 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/ITweenInfo.cs: -------------------------------------------------------------------------------- 1 | namespace DotsTween.Tweens 2 | { 3 | public interface ITweenInfo 4 | { 5 | void SetTweenInfo(in T start, in T end); 6 | T GetTweenStart(); 7 | T GetTweenEnd(); 8 | void Cleanup(); 9 | } 10 | } -------------------------------------------------------------------------------- /Runtime/Tweens/ITweenInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dab2b7059144ef48a93f9530654d251 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/ITweenParams.cs: -------------------------------------------------------------------------------- 1 | namespace DotsTween.Tweens 2 | { 3 | public interface ITweenParams 4 | { 5 | void SetTweenParams(in TweenParams tweenParams); 6 | TweenParams GetTweenParams(); 7 | } 8 | } -------------------------------------------------------------------------------- /Runtime/Tweens/ITweenParams.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0727f07469dec344495f005bc8204d82 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a91656addccf5c64c9a54f505784ff2b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb2cb74a03b77d14496b1eae1f1ab98e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52b5c67f806541c5b6f6a43f56523b6b 3 | timeCreated: 1676580539 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPAlphaCutoffSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPAlphaCutoffSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyAlphaCutoff cutoff, in DynamicBuffer tweenBuffer, in TweenHDRPAlphaCutoff tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | cutoff.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPAlphaCutoffSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62c30a1bcdd219c4bae96d69ba7fcbb3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPAmbientOcclusionRemapMaxSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPAmbientOcclusionRemapMaxSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyAORemapMax aoRemapMax, in DynamicBuffer tweenBuffer, in TweenHDRPAmbientOcclusionRemapMax tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | aoRemapMax.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPAmbientOcclusionRemapMaxSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a6869aa729094c45b61cff8e91cecd2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPAmbientOcclusionRemapMinSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPAmbientOcclusionRemapMinSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyAORemapMin aoRemapMin, in DynamicBuffer tweenBuffer, in TweenHDRPAmbientOcclusionRemapMin tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | aoRemapMin.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPAmbientOcclusionRemapMinSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40644122a7cabac42b4ff8c45e6061c2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDetailAlbedoScaleSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPDetailAlbedoScaleSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyDetailAlbedoScale albedo, in DynamicBuffer tweenBuffer, in TweenHDRPDetailAlbedoScale tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | albedo.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDetailAlbedoScaleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16d7e373d27deae4c8f95d44b0cd1cd2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDetailNormalScaleSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPDetailNormalScaleSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyDetailNormalScale normal, in DynamicBuffer tweenBuffer, in TweenHDRPDetailNormalScale tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | normal.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDetailNormalScaleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dfa3b84ed826ab4eb53e437cecba736 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDetailSmoothnessScaleSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPDetailSmoothnessScaleSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyDetailSmoothnessScale smoothness, in DynamicBuffer tweenBuffer, in TweenHDRPDetailSmoothnessScale tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | smoothness.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDetailSmoothnessScaleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c04239f52d32c5946aaccc83f7795c72 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDiffusionProfileHashSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPDiffusionProfileHashSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyDiffusionProfileHash hash, in DynamicBuffer tweenBuffer, in TweenHDRPDiffusionProfileHash tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | hash.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPDiffusionProfileHashSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22df8020f829cff458d5229697a302e9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPEmissiveColorSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPEmissiveColorSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyEmissiveColor emissiveColor, in DynamicBuffer tweenBuffer, in TweenHDRPEmissiveColor tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | emissiveColor.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPEmissiveColorSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da2f49b9f445a2a43a53d3699a6ec85b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPFadeSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPFadeSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyBaseColor colour, in DynamicBuffer tweenBuffer, in TweenHDRPFade tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | var alpha = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | colour.Value = new float4(colour.Value.xyz, alpha); 29 | } 30 | }).ScheduleParallel(); 31 | } 32 | } 33 | } 34 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPFadeSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c5f7731b774de84ab9f38d6f8f5314e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPFadeUnlitSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPFadeUnlitSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyUnlitColor colour, in DynamicBuffer tweenBuffer, in TweenHDRPFadeUnlit tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | var alpha = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | colour.Value = new float4(colour.Value.xyz, alpha); 29 | } 30 | }).ScheduleParallel(); 31 | } 32 | } 33 | } 34 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPFadeUnlitSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c92a8b4960fe6a46960edbbb7d36b14 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPMetallicSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPMetallicSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyMetallic metallic, in DynamicBuffer tweenBuffer, in TweenHDRPMetallic tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | metallic.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPMetallicSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48af0d07eac02ef4c9d1d6a8a9ccdc24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSmoothnessRemapMaxSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPSmoothnessRemapMaxSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertySmoothnessRemapMax smoothnessRemapMax, in DynamicBuffer tweenBuffer, in TweenHDRPSmoothnessRemapMax tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | smoothnessRemapMax.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSmoothnessRemapMaxSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02a12cfa82496b440b6544d6971b4ea4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSmoothnessRemapMinSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPSmoothnessRemapMinSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertySmoothnessRemapMin smoothnessRemapMin, in DynamicBuffer tweenBuffer, in TweenHDRPSmoothnessRemapMin tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | smoothnessRemapMin.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSmoothnessRemapMinSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b71c36ca5e134dc4d9cde9049538903e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSmoothnessSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPSmoothnessSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertySmoothness smoothness, in DynamicBuffer tweenBuffer, in TweenHDRPSmoothness tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | smoothness.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSmoothnessSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc1142c26e3ec25438005ad83eec5b42 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSpecularColorSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPSpecularColorSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertySpecularColor specColour, in DynamicBuffer tweenBuffer, in TweenHDRPSpecularColor tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | specColour.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPSpecularColorSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 841fdd771de33b04c83449e7b5fcb2c2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPThicknessRemapSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPThicknessRemapSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyThicknessRemap thicknessRemap, in DynamicBuffer tweenBuffer, in TweenHDRPThicknessRemap tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | thicknessRemap.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPThicknessRemapSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cb4e09d77fd6864dac98e061f3b03ef 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPThicknessSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPThicknessSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyThickness thiccness, in DynamicBuffer tweenBuffer, in TweenHDRPThickness tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | thiccness.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPThicknessSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac83baf603dbcd743be4cdcfe43137fe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPTintSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPTintSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyBaseColor baseColor, in DynamicBuffer tweenBuffer, in TweenHDRPTint tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | baseColor.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPTintSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee1c3d8de5a74ba4c94ea46d1c8391df 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPTintUnlitSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_HDRP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenHDRPTintUnlitSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref HDRPMaterialPropertyUnlitColor colour, in DynamicBuffer tweenBuffer, in TweenHDRPTintUnlit tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | colour.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/HDRP/TweenHDRPTintUnlitSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88ecc7fc34d5eed4bacd5ac5a2df2305 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bd2e23cd7a74210be670e2eb1dd06f1 3 | timeCreated: 1676559581 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenNonUniformScaleSystem.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Mathematics; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 10 | internal partial class TweenNonUniformScaleSystem : SystemBase 11 | { 12 | [BurstCompile] 13 | protected override void OnCreate() 14 | { 15 | RequireForUpdate(); 16 | } 17 | 18 | [BurstCompile] 19 | protected override void OnUpdate() 20 | { 21 | Entities.ForEach((ref PostTransformMatrix postTransformScale, in DynamicBuffer tweenBuffer, in TweenNonUniformScale tweenInfo) => 22 | { 23 | foreach (var tween in tweenBuffer) 24 | { 25 | if (tween.Id == tweenInfo.Id && !tween.IsPaused) 26 | { 27 | var x = math.lerp(tweenInfo.Start.x, tweenInfo.End.x, tween.EasePercentage); 28 | var y = math.lerp(tweenInfo.Start.y, tweenInfo.End.y, tween.EasePercentage); 29 | var z = math.lerp(tweenInfo.Start.z, tweenInfo.End.z, tween.EasePercentage); 30 | postTransformScale.Value = float4x4.Scale(x, y, z); 31 | break; 32 | } 33 | } 34 | }).ScheduleParallel(); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenNonUniformScaleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: daaa558729536cf4890bbfaffb8b6793 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenRotationSystem.cs: -------------------------------------------------------------------------------- 1 | using DotsTween.Tweens; 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Transforms; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenRotationSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref LocalTransform localTransform, in DynamicBuffer tweenBuffer, in TweenRotation tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id == tweenInfo.Id && !tween.IsPaused) 27 | { 28 | localTransform.Rotation = math.slerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 29 | break; 30 | } 31 | } 32 | }).ScheduleParallel(); 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenRotationSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 918b1f7a69cadb24790c1c9346475053 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenScaleSystem.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Mathematics; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 10 | internal partial class TweenScaleSystem : SystemBase 11 | { 12 | [BurstCompile] 13 | protected override void OnCreate() 14 | { 15 | RequireForUpdate(); 16 | } 17 | 18 | [BurstCompile] 19 | protected override void OnUpdate() 20 | { 21 | Entities.ForEach((ref LocalTransform localTransform, in DynamicBuffer tweenBuffer, in TweenScale tweenInfo) => 22 | { 23 | foreach (var tween in tweenBuffer) 24 | { 25 | if (tween.Id == tweenInfo.Id && !tween.IsPaused) 26 | { 27 | localTransform.Scale = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | break; 29 | } 30 | } 31 | }).ScheduleParallel(); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenScaleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8631b64f2404b940bd4562410cecb13 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenSplineMovementSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f22eb05a3821407b91b7ab2481e9bd9b 3 | timeCreated: 1677791051 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenTranslationSystem.cs: -------------------------------------------------------------------------------- 1 | using Unity.Burst; 2 | using Unity.Entities; 3 | using Unity.Mathematics; 4 | using Unity.Transforms; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 10 | internal partial class TweenTranslationSystem : SystemBase 11 | { 12 | [BurstCompile] 13 | protected override void OnCreate() 14 | { 15 | RequireForUpdate(); 16 | } 17 | 18 | [BurstCompile] 19 | protected override void OnUpdate() 20 | { 21 | Entities.ForEach((ref LocalTransform localTransform, in DynamicBuffer tweenBuffer, in TweenTranslation tweenInfo) => 22 | { 23 | foreach (var tween in tweenBuffer) 24 | { 25 | if (tween.Id == tweenInfo.Id && !tween.IsPaused) 26 | { 27 | localTransform.Position = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | break; 29 | } 30 | } 31 | }).ScheduleParallel(); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/Transform/TweenTranslationSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d2dafb6caf3ebd47b3da5aa8a1cbf5e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3481ba3aa9dd4bb8b70c544bc743479d 3 | timeCreated: 1674785165 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPBumpScaleSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPBumpScaleSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyBumpScale bumpScale, in DynamicBuffer tweenBuffer, in TweenURPBumpScale tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | bumpScale.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPBumpScaleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43bbda09b71e4754aaa8d86ff95184aa 3 | timeCreated: 1676558801 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPCutoffSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPCutoffSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyCutoff cutoff, in DynamicBuffer tweenBuffer, in TweenURPCutoff tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | cutoff.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPCutoffSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 270327dc18b94cb08d767478a8eba909 3 | timeCreated: 1676558795 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPEmissionColorSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPEmissionColorSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyEmissionColor emissionColor, in DynamicBuffer tweenBuffer, in TweenURPEmissionColor tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | emissionColor.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPEmissionColorSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e91fe2830534d3d901c5df2e30e0d4c 3 | timeCreated: 1676560075 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPFadeSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPFadeSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyBaseColor baseColor, in DynamicBuffer tweenBuffer, in TweenURPFade tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | var alpha = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | baseColor.Value = new float4(baseColor.Value.xyz, alpha); 29 | } 30 | }).ScheduleParallel(); 31 | } 32 | } 33 | } 34 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPFadeSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cfe1b87718846c6b893810c81fef1a3 3 | timeCreated: 1676557654 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPMetallicSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPMetallicSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyMetallic sheen, in DynamicBuffer tweenBuffer, in TweenURPMetallic tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | sheen.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPMetallicSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c5a38bfd16b41e4a5dc019696cbbb5e 3 | timeCreated: 1676558807 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPOcclusionStrengthSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPOcclusionStrengthSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyOcclusionStrength strength, in DynamicBuffer tweenBuffer, in TweenURPOcclusionStrength tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | strength.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPOcclusionStrengthSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8875284b2c243d3bb60212f5c4e6c94 3 | timeCreated: 1676559900 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPSmoothnessSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPSmoothnessSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertySmoothness smoothness, in DynamicBuffer tweenBuffer, in TweenURPSmoothness tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | smoothness.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPSmoothnessSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca9eeeb5a7ff401fa82546386b5dd2c0 3 | timeCreated: 1676558438 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPSpecularColorSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPSpecularColorSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertySpecColor specularColor, in DynamicBuffer tweenBuffer, in TweenURPSpecularColor tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | specularColor.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPSpecularColorSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 539d894645444ed498d5835948bc6339 3 | timeCreated: 1676560080 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPTintSystem.cs: -------------------------------------------------------------------------------- 1 | #if DOTS_TWEEN_URP 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | using Unity.Mathematics; 5 | using Unity.Rendering; 6 | 7 | namespace DotsTween.Tweens 8 | { 9 | [BurstCompile] 10 | [UpdateInGroup(typeof(TweenApplySystemGroup))] 11 | internal partial class TweenURPTintSystem : SystemBase 12 | { 13 | [BurstCompile] 14 | protected override void OnCreate() 15 | { 16 | RequireForUpdate(); 17 | } 18 | 19 | [BurstCompile] 20 | protected override void OnUpdate() 21 | { 22 | Entities.ForEach((ref URPMaterialPropertyBaseColor baseColor, in DynamicBuffer tweenBuffer, in TweenURPTint tweenInfo) => 23 | { 24 | foreach (var tween in tweenBuffer) 25 | { 26 | if (tween.Id != tweenInfo.Id || tween.IsPaused) continue; 27 | baseColor.Value = math.lerp(tweenInfo.Start, tweenInfo.End, tween.EasePercentage); 28 | } 29 | }).ScheduleParallel(); 30 | } 31 | } 32 | } 33 | #endif -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/ApplySystems/URP/TweenURPTintSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4736e776e87f7c4dbda55bd0211e8e4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1a868dd9d4f44f8a6472b7b2284f859 3 | timeCreated: 1676559566 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27b24de97e4643dfbafe6124967a8967 3 | timeCreated: 1677904528 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/.idea/.idea.Jobless.dir/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/.idea/.idea.Jobless.dir/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/.idea/.idea.Jobless.dir/.idea/projectSettingsUpdater.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/.idea/.idea.Jobless.dir/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/JoblessTweenGenerateSystem.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.CompilerServices; 2 | using System.Runtime.InteropServices; 3 | using Unity.Burst; 4 | using Unity.Entities; 5 | 6 | namespace DotsTween.Tweens 7 | { 8 | [BurstCompile] 9 | [UpdateInGroup(typeof(TweenGenerateSystemGroup))] 10 | internal abstract partial class JoblessTweenGenerateSystem : SystemBase 11 | { 12 | [BurstCompile] 13 | [MethodImpl(MethodImplOptions.AggressiveInlining)] 14 | protected void TryToAddBuffers( 15 | out bool buffersWereAdded, 16 | ref EntityCommandBuffer ecb, 17 | in Entity entity, 18 | [MarshalAs(UnmanagedType.U1)] bool hasTweenStateBuffer, 19 | [MarshalAs(UnmanagedType.U1)] bool hasTweenPauseBuffer, 20 | [MarshalAs(UnmanagedType.U1)] bool hasTweenResumeBuffer) 21 | { 22 | if (!hasTweenStateBuffer) ecb.AddBuffer(entity); 23 | if (!hasTweenPauseBuffer) ecb.AddBuffer(entity); 24 | if (!hasTweenResumeBuffer) ecb.AddBuffer(entity); 25 | 26 | buffersWereAdded = !hasTweenStateBuffer 27 | || !hasTweenPauseBuffer 28 | || !hasTweenResumeBuffer; 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/JoblessTweenGenerateSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e4b209a091945baaa732e2a5ce27b91 3 | timeCreated: 1677904662 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/Spline.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afadceed6a6c463d828336aa6925d80c 3 | timeCreated: 1695041271 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/Spline/TweenSplineMovementDestroySystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32b054898a354b9dbbbf382f576f677c 3 | timeCreated: 1695041832 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/Jobless/Spline/TweenSplineMovementGenerateSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 602f659ffce544d0b31a83fcf5026b96 3 | timeCreated: 1695041300 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenDestroySystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d9dd1af848b2cc40b5f5b96e5b8fc5d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenEaseSystem.cs: -------------------------------------------------------------------------------- 1 | using DotsTween.Math; 2 | using Unity.Burst; 3 | using Unity.Entities; 4 | 5 | namespace DotsTween.Tweens 6 | { 7 | [BurstCompile] 8 | [UpdateInGroup(typeof(TweenSimulationSystemGroup))] 9 | internal partial class TweenEaseSystem : SystemBase 10 | { 11 | [BurstCompile] 12 | protected override void OnCreate() 13 | { 14 | RequireForUpdate(); 15 | } 16 | 17 | [BurstCompile] 18 | protected override void OnUpdate() 19 | { 20 | Entities.ForEach((ref DynamicBuffer tweenBuffer) => 21 | { 22 | if (tweenBuffer.IsEmpty) return; 23 | 24 | var deltaTime = SystemAPI.Time.DeltaTime; 25 | for (int i = 0; i < tweenBuffer.Length; i++) 26 | { 27 | TweenState tween = tweenBuffer[i]; 28 | if (tween.IsPaused) continue; 29 | tween.CurrentTime += tween.IsReverting ? -deltaTime : deltaTime; 30 | tween.EasePercentage = EasingFunctions.Ease(tween.EaseType, tween.GetNormalizedTime()); 31 | tweenBuffer[i] = tween; 32 | } 33 | }).ScheduleParallel(); 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenEaseSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a23e174c7601b9f4fb8f908a119d10ec 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenGenerateSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d5e955edd9acd043a26fef4ad831c09 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenPauseSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e998da65d515485f8efd165cb01a4760 3 | timeCreated: 1678809392 -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenResumeSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a942f75723b2c07498a3da088f2f2167 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenStateSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79b24e02fac5cfa469bcd512f841f33e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/Systems/Control/TweenStopSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab71e92cd6b57ca4c8a1986ce35de63f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/TweenParams.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8094f555688b9384b885f815dcb126ef 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Tweens/TweenSystemGroups.cs: -------------------------------------------------------------------------------- 1 | using Unity.Entities; 2 | 3 | namespace DotsTween.Tweens 4 | { 5 | // Update Order: 6 | // - TweenGenerateSystemGroup 7 | // - TweenGenerateSystem(s) 8 | // - TweenEaseSystem 9 | // - TweenApplySystemGroup 10 | // - TweenTranslationSystem 11 | // - TweenRotationSystem 12 | // - TweenScaleSystem 13 | // - etc. 14 | // - TweenStateSystem 15 | // - TweenResumeSystem 16 | // - TweenStopSystem 17 | // - TweenDestroySystemGroup 18 | // - TweenDestroySystem(s) 19 | 20 | [UpdateInGroup(typeof(SimulationSystemGroup))] 21 | internal partial class TweenSimulationSystemGroup : ComponentSystemGroup {} 22 | 23 | [UpdateInGroup(typeof(TweenSimulationSystemGroup))] 24 | [UpdateBefore(typeof(TweenEaseSystem))] 25 | internal partial class TweenGenerateSystemGroup : ComponentSystemGroup {} 26 | 27 | [UpdateInGroup(typeof(TweenSimulationSystemGroup))] 28 | [UpdateAfter(typeof(TweenEaseSystem))] 29 | internal partial class TweenApplySystemGroup : ComponentSystemGroup {} 30 | 31 | [UpdateInGroup(typeof(TweenSimulationSystemGroup))] 32 | [UpdateAfter(typeof(TweenApplySystemGroup))] 33 | internal partial class TweenDestroySystemGroup : ComponentSystemGroup {} 34 | } -------------------------------------------------------------------------------- /Runtime/Tweens/TweenSystemGroups.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe6fee9bf3f39d24d9cc2224fd2e2e74 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Samples~/StressTest.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8baa131c52eff474888d7fa1183bc7d7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/StressTest/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cff868f9bab440c46960c4524f2e7137 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/StressTest/Materials/GPUInstancing.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23bdf13b27e849d895aa191958bdb7ce 3 | timeCreated: 1673461815 -------------------------------------------------------------------------------- /Samples~/StressTest/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6f98b517ac30544580cb4a516946d9a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/StressTest/Prefabs/Cube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed67f3730d364bc79682cbb97fff0c73 3 | timeCreated: 1673461811 -------------------------------------------------------------------------------- /Samples~/StressTest/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 099aba3580a1880448e8f1b9d61ece89 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/StressTest/Scenes/StressTestScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33a4f56696a341559e6342529f84c0b8 3 | timeCreated: 1673461795 -------------------------------------------------------------------------------- /Samples~/StressTest/Scenes/StressTestScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c781b06bd1594acfa1f0b9fc9cb0d7ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/StressTest/Scenes/StressTestScene/StressTestSubScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd8fe40860e24637a7576944ffe5230f 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/StressTest/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb4b38855c77c0546bef18de1c0ca1e1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/StressTest/Scripts/DotsTween.Samples.StressTest.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DotsTween.Samples.StressTest", 3 | "references": [ 4 | "DotsTween.Runtime", 5 | "Unity.Entities", 6 | "Unity.Entities.Hybrid", 7 | "Unity.Mathematics", 8 | "Unity.Burst", 9 | "Unity.Entities.Graphics", 10 | "Unity.Collections" 11 | ], 12 | "includePlatforms": [], 13 | "excludePlatforms": [], 14 | "allowUnsafeCode": false, 15 | "overrideReferences": false, 16 | "precompiledReferences": [], 17 | "autoReferenced": true, 18 | "defineConstraints": [], 19 | "versionDefines": [], 20 | "noEngineReferences": false 21 | } -------------------------------------------------------------------------------- /Samples~/StressTest/Scripts/DotsTween.Samples.StressTest.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dcdb9e2fc58a3743884c60b2fceb656 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/StressTest/Scripts/StressTestCommandMono.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f7b59ac2f34407798d5588bcf83ce48 3 | timeCreated: 1673460485 -------------------------------------------------------------------------------- /Samples~/StressTest/Scripts/StressTestSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d1a6f3f66ed1ce4dbd1e74f9932be47 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.dyonng.dotstween", 3 | "version": "0.10.1", 4 | "displayName": "DOTS Tween", 5 | "description": "Tween library for Unity ECS/DOTS.", 6 | "unity": "2022.3", 7 | "dependencies": { 8 | "com.unity.collections": "2.1.4", 9 | "com.unity.entities": "1.0.16", 10 | "com.unity.burst": "1.8.8", 11 | "com.unity.mathematics": "1.2.6", 12 | "com.unity.entities.graphics": "1.0.16" 13 | }, 14 | "author": { 15 | "name": "Dyon", 16 | "email": "dyonjng@gmail.com", 17 | "url": "https://github.com/dyonng/dots-tween" 18 | }, 19 | "keywords": [ 20 | "ECS", 21 | "DOTS", 22 | "Entity", 23 | "Tween", 24 | "Animation", 25 | "entity", 26 | "component", 27 | "system", 28 | "tweening" 29 | ], 30 | "samples": [ 31 | { 32 | "displayName": "Stress Test", 33 | "description": "The test demonstrates lots of cubes being translated, rotated and scaled at the same time. Dependent on Entities.Graphics for rendering.", 34 | "path": "Samples~/StressTest" 35 | } 36 | ] 37 | } 38 | -------------------------------------------------------------------------------- /package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47ddf8f2e0a317a47a28d0d8f002757a 3 | PackageManifestImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | --------------------------------------------------------------------------------