SerializationEvents.cs 390 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace KairoEngine.Core
  5. {
  6. public class SerializationEvents
  7. {
  8. public static event System.Action OnSerializeData;
  9. public static void SerializeData()
  10. {
  11. if(OnSerializeData != null)
  12. {
  13. OnSerializeData();
  14. }
  15. }
  16. }
  17. }