版本
menu

Using containers and Property Containers in the Containers hierarchy

Containers and Property Containers can both be used to group the assets within your project hierarchy, but they are applied at different levels and serve different purposes.

Containers are at the second level in the Containers hierarchy, which means they can be both parent and child objects. You can use containers to group sounds as well as other containers. 通过在容器内 "嵌套" 其他容器 ,可以得到多样化的结果,模拟真实声音表现。

Property Containers also group objects within the project hierarchy, but they sit one level above containers. This means that a Property Container can be the parent of a container, but not vice versa. Property Containers can be the parent of any number of sounds, containers, and other Property Containers. 可以使用 Actor-mixer 将大量的 Wwise 对象分组到一起,从而统一设置整个组的属性。

The following illustration demonstrates how you can use containers and Property Containers to group the sound assets related to one of the characters in your project.

[备注]备注

A similar hierarchy of containers and Property Containers can be created at the same level to group the motion assets in your project.

组织素材 —— 示例

假设您正在研发一款第一人称射击游戏,里面使用了七种不同武器,您希望每种武器的声音具有类似的属性。You can group all the sounds related to a weapon into a Sequence or Random Container. Then you can group all the weapon containers in one Switch Container so that you can control properties such as volume and pitch for all the weapons as one unit.

You can build your asset structures in the early phases of your project based on the game design. 同时也需要考虑工程中的其它元素,例如 Work Unit(工作单元)、Routing(信号通路)以及 Game Syncs(游戏同步器)等。从工程整体来考虑问题有助于有效地为对象分组。For some ideas about how to group objects, refer to “Grouping objects in the Containers hierarchy”一节 in the Building Containers hierarchy Tips and Best Practices section.

关于如何建立通路结构、Work Unit 以及新建 Game Sync,请参阅以下几节:


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅