11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/6
High-performance tweens and sequences in one line of code. Unity 6 ready!
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本 | 内置渲染管线 | 通用渲染管线(URP) | 高清渲染管线(HDRP) |
---|---|---|---|
6000.0.44f1 | 兼容 | 兼容 | 兼容 |
2019.4.0f1 | 兼容 | 兼容 | 兼容 |
描述
PrimeTween is a high-performance, allocation-free tween library for Unity.
Animate anything with just one line of code, tweak all animation properties directly from the Inspector, and create complex animation sequences. No runtime memory allocations, ever.
Documentation | Forum | FAQ | Support
🔥 Highlights 🔥
- Performance analysis.
- Zero-allocation animations, shakes, delays, and sequences.
- Simple and consistent API. Animate anything with one line of code.
- Installs as a Unity Package Manager (UPM) package.
- No dependencies on other packages or libraries.
- Full C# source code is available.
- Covered by 250+ automated tests and ready for production.
💡 Features 💡
- Animations: animate Transform, Material, UnityEngine.UI (uGUI), UI Toolkit, AudioSource, Light, etc.
- Custom animations: animate any field or property of type float, Vector, Color, Quaternion, or Rect.
- Delays: schedule delays, set timers, and use PrimeTween as a non-allocating alternative to 'WaitForSeconds()' and 'await Task.Delay()'.
- Easing functions: choose a standard easing function, provide a custom AnimationCurve for animations, or use Parametric Easing to fine-tune the standard easings.
- Shakes: shake the camera, Transform, or any arbitrary property.
- Callbacks: execute custom code when animations complete.
- Sequences: combine animations, delays, and callbacks into complex sequences.
- Inspector integration: all animation properties are tweakable from the Inspector. Tweak start and end values, duration, cycles, etc. Choose a standard easing function or provide a custom animation curve. All without re-compiling the code.
- Coroutines: wait for animations and sequences in coroutines.
- Async/await: await animations and sequences in async methods.
- Cycles: repeat, play animations back and forth like a yoyo, or cycle them indefinitely.
Documentation | Forum | FAQ | Support
技术细节
PrimeTween · High-Performance Animations and Sequences
(78)
459 users have favourite this asset
(459)
FREE
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
语言
USD
EUR