11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
动画
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/4
More Effective Coroutines (MEC) is an improved implementation of coroutines.

When you use Unity's default coroutines you will have to be very careful about how you use them or else they will allocate memory that the garbage collector later has to clean up. This can cause your app to randomly skip frames. MEC solves that issue for coroutines, while also making coroutines more powerful by running about twice as fast as Unity's default coroutines do and providing you with a host of new options that Unity's default coroutines don't have.

This is the free version. The free version of MEC contains the mininum set of features, whereas the pro version contains the full set. Both versions run on the same super-fast core.

Switching between MEC coroutines and Unity's default coroutines is really easy. They can even be used side by side in the same project.

Advantages of MEC (both free and pro):

- MEC doesn't require that your class inherit from MonoBehavior in order to run a coroutine.
- Coroutines can be "tagged" with a string when created, allowing you to kill or pause coroutines individually or as a group.
- MEC contains no pre-compiled DLLs, which makes debugging easier.
- MEC contains useful extra segments, like SlowUpdate.
- MEC coroutines can be paused and resumed.

Limitations of free that don't exist in pro:

- The free version of MEC contains only the mininum number of timing segments. The pro version has the following additional segments: RealtimeUpdate, EditorUpdate, EditorSlowUpdate, EndOfFrame, and ManualTimeframe.
- The free version cannot run coroutines that execute in the Unity editor while your app is not running (called editor corotuines).
- In MEC free a coroutine cannot switch from one timing segment to another without starting a new coroutine.
- You cannot query whether a coroutine is running or add or remove tags to a running coroutine.
- You cannot run a singleton instance of a coroutine like you can in Pro.


For more informantion, see the documentation here.

More Effective Coroutines [FREE]

(214)
1598 users have favourite this asset
(1598)
FREE
许可证类型
文件大小
683.7 KB
最新版本
3.13.0
最新发布日期
2025年1月13日
原始 Unity 版本
5.3.8
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
FREE