LSharpLogger.cs 311 B

1234567891011121314151617181920
  1. using UnityEngine;
  2. public class LSharpLogger : CLRSharp.ICLRSharp_Logger//实现L#的LOG接口
  3. {
  4. public void Log(string str)
  5. {
  6. Debug.Log(str);
  7. }
  8. public void Log_Error(string str)
  9. {
  10. Debug.LogError(str);
  11. }
  12. public void Log_Warning(string str)
  13. {
  14. Debug.LogWarning(str);
  15. }
  16. }