DebugManager.cs 661 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. using Sfs2X.Core;
  4. using Sfs2X.Entities;
  5. using Sfs2X.Entities.Data;
  6. public class DebugManager
  7. {
  8. #region Variable
  9. #endregion
  10. public void Start()
  11. {
  12. }
  13. public static void PrintKeysAndValuesOfBaseEvent(string seperator, BaseEvent baseEvent)
  14. {
  15. Debug.LogWarning(seperator);
  16. foreach (var key in baseEvent.Params.Keys)
  17. {
  18. Debug.Log("Key " + key);
  19. }
  20. foreach (var value in baseEvent.Params.Values)
  21. {
  22. Debug.Log("value " + value);
  23. }
  24. Debug.LogWarning(seperator);
  25. }
  26. }