123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #if defined(SCRIPTCANVAS_EDITOR)
- #include <ScriptCanvasGem.h>
- #include <AzCore/Component/Entity.h>
- #include <AzCore/Component/Component.h>
- #include <AzCore/Serialization/SerializeContext.h>
- #include <AzCore/Component/ComponentApplication.h>
- #include <AzCore/Component/ComponentApplicationBus.h>
- #include <AzFramework/API/ApplicationAPI.h>
- #include <AzFramework/Asset/SimpleAsset.h>
- #include <SystemComponent.h>
- #include <ScriptCanvas/Core/Graph.h>
- #include <ScriptCanvas/Data/DataRegistry.h>
- #include <ScriptCanvas/Libraries/Libraries.h>
- #include <ScriptCanvas/Debugger/Debugger.h>
- #include <ScriptCanvas/Variable/GraphVariableManagerComponent.h>
- namespace ScriptCanvas
- {
- ////////////////////////////////////////////////////////////////////////////
- // ScriptCanvasModule
- ////////////////////////////////////////////////////////////////////////////
- //! Create ComponentDescriptors and add them to the list.
- //! The descriptors will be registered at the appropriate time.
- //! The descriptors will be destroyed (and thus unregistered) at the appropriate time.
- ScriptCanvasModule::ScriptCanvasModule()
- : ScriptCanvasModuleCommon()
- {
- }
- AZ::ComponentTypeList ScriptCanvasModule::GetRequiredSystemComponents() const
- {
- return GetCommonSystemComponents();
- }
- }
- #if defined(O3DE_GEM_NAME)
- AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), ScriptCanvas::ScriptCanvasModule)
- #else
- AZ_DECLARE_MODULE_CLASS(Gem_ScriptCanvas, ScriptCanvas::ScriptCanvasModule)
- #endif
- #endif // !SCRIPTCANVAS_EDITOR
|