CommentLayerControllerComponent.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <Source/Components/LayerControllerComponent.h>
  10. namespace GraphCanvas
  11. {
  12. class CommentLayerControllerComponent
  13. : public LayerControllerComponent
  14. {
  15. public:
  16. static void Reflect(AZ::ReflectContext* context)
  17. {
  18. AZ::SerializeContext* serializeContext = azrtti_cast<AZ::SerializeContext*>(context);
  19. if (serializeContext)
  20. {
  21. serializeContext->Class<CommentLayerControllerComponent, LayerControllerComponent>()
  22. ->Version(0)
  23. ;
  24. }
  25. }
  26. AZ_COMPONENT(CommentLayerControllerComponent, "{E6E6A329-40DA-4F95-B42E-6843DF2B6E2E}", LayerControllerComponent);
  27. CommentLayerControllerComponent()
  28. : LayerControllerComponent("CommentLayer", CommentOffset)
  29. {
  30. }
  31. };
  32. }