If you plan to use a Game Parameter to drive an object's property value, you must create the Game Parameter first in the Game Syncs tab of the Project Explorer. 创建游戏参数之后,您可以使用它创建任意数量的 RTPC。
小心 | |
---|---|
When naming Game Parameters in Wwise, use only letters, digits, and underscores, and make sure that each Game Parameter name is unique. |
You can create all the Game Parameters that you need in either of the following two places in Wwise:
Game Syncs tab of the Project Explorer
RTPC tab of the Property, Attenuation, or Effect Editor
To create a new Game Parameter in the Project Explorer:
在 Project Explorer 中,切换至 Game Syncs 选项卡。
在 Game Parameter 部分,执行以下操作之一:
Select a Work Unit or Virtual Folder and click the Game Parameter icon in the Project Explorer toolbar.
Right-click a Work Unit or Virtual Folder and select New Child > Game Parameter from the shortcut menu.
A new Game Parameter is added to the list of Game Parameters.
Replace the default name with one that best represents the Game Parameter.
注意 | |
---|---|
第一个字符只能使用字母或下划线。 |
Continue to add Game Parameters as needed.
To create a new Game Parameter from the RTPC tab:
在 Property Editor、Attenuation Editor 或 Effect Editor 的 RTPC 选项卡中,选择 RTPC 列表中的一个条目。
如果还没有为该条目选择属性,则通过选择按钮选择一个。
选择 Game Parameter 菜单项,然后选择 New。
此时将打开 New Game Parameter 对话框。
Select the Work Unit into which you want to create the new Game Parameter.
In the Name field, replace the default name with one that best represents the Game Parameter.
Click OK to create the new Game Parameter.