cg小白兔 发表于 2024-4-3 14:08:00

【更新】Pool Spawner Pro 1.1
















Pool Spawner Pro makes it easy for you to generate objects in any way you like. It is a perfect fit for endless runner games such as Subway Surfers, Temple Run and Crossy Road.

It is perfect for mobile games because it doesn't consume much power making your game run smoothly.

It uses object pooling to spawn objects efficiently. Unlike Unity's built-in Instantiate() and Destroy() function, object pooling is much more performant because it doesn't consistently create and destroy new objects but reuse the same objects.

3 different systems are included in this asset pack to make it easy for you to manage the essential parts of your games
1. Dynamic Spawn
This system is responsible for generating infinite platforms. You can control a lot of things through the inspector window to manage the number of different objects to be spawned and their position, rotation, scale, probability, and a lot more.
You can set a maximum distance in which the objects travel at which everything is reset/brought back to the origin/center of the scene to prevent floating-point errors.

2. Fixed Spawn
This system generates objects at a specified point in the scene. For example, you can have a spacecraft shoot or create particle effects such as rain fx. Refer to video for more info.

3. Area Spawn
This system generates objects in a grid with a specified size. The objects in the grid can be modified at runtime and in the editor. It is perfect for generating soldiers in rows and columns like in Lords Mobile video game

The possibilities with this tool are endless. Your imagination is key for using this asset the way you want.

To set up your project to use this asset, follow the steps in the documentation provided or take a look at the demo scenes provided.


Pool Spawner Pro使您可以轻松地以任何方式生成对象。它非常适合无休止的跑步游戏,如Subway Surfers、Temple Run和Crossy Road。

它非常适合手机游戏,因为它不会消耗太多电力,让你的游戏顺利运行。

它使用对象池来高效地生成对象。与Unity内置的Instantiate()和Destroy()函数不同,对象池的性能要高得多,因为它不会始终如一地创建和销毁新对象,而是重复使用相同的对象。

此资产包中包含3个不同的系统,使您能够轻松管理游戏的重要部分
1.动态繁殖
这个系统负责生成无限平台。您可以通过检查器窗口控制很多事情,以管理要派生的不同对象的数量及其位置、旋转、比例、概率等等。
您可以设置对象移动的最大距离,在该距离处,所有内容都会重置/返回到场景的原点/中心,以防止浮点错误。

2.固定繁殖
该系统在场景中的指定点生成对象。例如,可以让航天器拍摄或创建粒子效果,例如rain fx。有关更多信息,请参阅视频。

3.区域繁殖
此系统在栅格中生成具有指定大小的对象。网格中的对象可以在运行时和编辑器中进行修改。它非常适合像Lords Mobile视频游戏中那样生成成排和成列的士兵

这个工具的可能性是无穷的。你的想象力是以你想要的方式使用这项资产的关键。

要将您的项目设置为使用此资产,请按照提供的文档中的步骤进行操作,或者查看提供的演示场景。





页: [1]
查看完整版本: 【更新】Pool Spawner Pro 1.1