PrefabEvents.h 363 B

12345678910111213141516171819
  1. #include "../Core/Object.h"
  2. namespace Atomic
  3. {
  4. EVENT(E_PREFABSAVE, PrefabSave)
  5. {
  6. 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. EVENT(E_PREFABCHANGED, PrefabChanged)
  10. {
  11. PARAM(P_GUID, GUID); // String
  12. }
  13. }