menu
 
バージョン
2024.1.3.8749

2024.1.3.8749

2023.1.11.8682

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2024.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からはじめよう