Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 iOS 的 Sprite Kit 中冻结粒子节点?基本上将粒子节点中的每个粒子完全冻结在它们所在的位置。
暂停粒子节点:
particle.paused = YES;
当发射器在屏幕外并且不需要发射粒子时,这对于提高性能也很有用。