changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute

This commit is contained in:
Chandler Cox
2022-11-11 16:37:45 -06:00
parent 81c13825c5
commit 4515844219
41 changed files with 169 additions and 41 deletions

View File

@@ -13,7 +13,7 @@
/// <remarks>
/// Whether or not an audio source is spatial is controlled by the assigned AudioClip.The volume and the pitch of a spatial audio source is controlled by its position and the AudioListener's position/direction/velocity.
/// </remarks>
API_CLASS(Attributes="ActorContextMenu(\"New/Audio/Audio Source\")") class FLAXENGINE_API AudioSource : public Actor
API_CLASS(Attributes="ActorContextMenu(\"New/Audio/Audio Source\"), ActorToolbox(\"Other\")") class FLAXENGINE_API AudioSource : public Actor
{
DECLARE_SCENE_OBJECT(AudioSource);
friend class AudioStreamingHandler;