2
0

BehaviorComponent.cpp 1008 B

123456789101112131415161718192021222324252627282930313233343536
  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. #include <AzCore/Serialization/SerializeContext.h>
  9. #include <SceneAPI/SceneCore/Components/BehaviorComponent.h>
  10. namespace AZ
  11. {
  12. namespace SceneAPI
  13. {
  14. namespace SceneCore
  15. {
  16. void BehaviorComponent::Activate()
  17. {
  18. }
  19. void BehaviorComponent::Deactivate()
  20. {
  21. }
  22. void BehaviorComponent::Reflect(ReflectContext* context)
  23. {
  24. SerializeContext* serializeContext = azrtti_cast<SerializeContext*>(context);
  25. if (serializeContext)
  26. {
  27. serializeContext->Class<BehaviorComponent, AZ::Component>()->Version(1);
  28. }
  29. }
  30. } // namespace SceneCore
  31. } // namespace SceneAPI
  32. } // namespace AZ