PrefabEvents.h 391 B

12345678910111213141516171819
  1. #include "../Core/Object.h"
  2. namespace Atomic
  3. {
  4. ATOMIC_EVENT(E_PREFABSAVE, PrefabSave)
  5. {
  6. ATOMIC_PARAM(P_PREFABCOMPONENT, PrefabComponent); // PrefabComponent Pointer
  7. }
  8. /// Instead of using resource reload system which can be delayed due to file watchers, we explicitly send prefab changes
  9. ATOMIC_EVENT(E_PREFABCHANGED, PrefabChanged)
  10. {
  11. ATOMIC_PARAM(P_GUID, GUID); // String
  12. }
  13. }