バージョン

menu_open
Wwise SDK 2023.1.3
Plug-in First Time Creation Notice

プロジェクトで初めてプラグインを使うときに、任意でメッセージボックスに通知を表示することができます。 この任意の機能は、プラグインコンテナに追加できる別クラスとして提供されます(プラグインコンテナの詳細は、 Library Plug-in Container を参照してください)。

以下は、メッセージを定義し、このクラスをプラグインコンテナ MyPlugin に追加する、サンプルクラスです:

class MyCreationMessagePlugin
{
public:
MyCreationMessagePlugin(AK::Wwise::Plugin::PluginInfo* in_pluginInfo) {}
const char* GetKey() const override
{
return "Company.MyCreationMessagePlugin";
}
const char* GetCreationMessage() const override
{
return "Copyright Notice";
}
};
MyPlugin, // Add to container "MyPlugin"
MyCreationMessagePlugin, // Class to add to the container
SoundEngineSourcePlugin // Sound engine plug-in to which this plug-in corresponds
);
virtual const char * GetKey() const =0
Returns a unique key used in the .wproj to indicate whether the licensing message was shown.
#define AK_ADD_PLUGIN_CLASS_TO_CONTAINER(ContainerName, WwiseClassName, AudioEngineRegisteredName)
(C++) Adds a Wwise Authoring plug-in and a Sound Engine plug-in to a plug-in container.
virtual const char * GetCreationMessage() const =0
Returns a unique creation message shown to the user.

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう