mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-20 07:39:07 +08:00
29 lines
712 B
C#
29 lines
712 B
C#
![]() |
#if MONO
|
|||
|
using System;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Reflection;
|
|||
|
using System.Text;
|
|||
|
using UnityEngine;
|
|||
|
using UnityEngine.Events;
|
|||
|
using UnityEngine.EventSystems;
|
|||
|
using UnityEngine.SceneManagement;
|
|||
|
using UnityEngine.UI;
|
|||
|
using UnityExplorer;
|
|||
|
|
|||
|
namespace UnityExplorer.Core.Runtime
|
|||
|
{
|
|||
|
public class MonoProvider : RuntimeHelper
|
|||
|
{
|
|||
|
public override void SetupEvents()
|
|||
|
{
|
|||
|
Application.logMessageReceived += Application_logMessageReceived;
|
|||
|
}
|
|||
|
|
|||
|
private void Application_logMessageReceived(string condition, string stackTrace, LogType type)
|
|||
|
=> ExplorerCore.LogUnity(condition, type);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
#endif
|