Tanoda
RUEInvoker.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
RuntimeUnityEditor
.
Core
;
4
using
UnityEngine
;
5
using
LogLevel
=
RuntimeUnityEditor
.
Core
.LogLevel;
6
7
public
class
RUEInvoker
: MonoBehaviour
8
{
9
10
#if DEBUG
// || true
11
public
static
RuntimeUnityEditorCore
Instance {
get
;
private
set
; }
12
13
// Start is called before the first frame update
14
void
Start()
15
{
16
if
(Instance ==
null
)
17
Instance =
new
RuntimeUnityEditorCore
(
this
,
new
Logger5(),
""
) {ShowHotkey = KeyCode.F8};
18
}
19
20
// Update is called once per frame
21
private
void
OnGUI()
22
{
23
Instance?.OnGUI();
24
}
25
26
void
Update()
27
{
28
Instance?.Update();
29
}
30
31
private
void
LateUpdate()
32
{
33
Instance?.LateUpdate();
34
}
35
36
#endif
37
38
private
sealed
class
Logger5 :
ILoggerWrapper
39
{
40
public
void
Log(
LogLevel
logLogLevel,
object
content)
41
{
42
Debug
.
Log
(content);
43
}
44
}
45
}
Debug
UnityEngine.Debug Debug
Definition:
TanodaServer.cs:19
RUEInvoker
Definition:
RUEInvoker.cs:8
RuntimeUnityEditor.Core.RuntimeUnityEditorCore
Definition:
RuntimeUnityEditorCore.cs:13
RuntimeUnityEditor.Core.ILoggerWrapper
Definition:
ILoggerWrapper.cs:4
RuntimeUnityEditor.Core.ILoggerWrapper.Log
void Log(LogLevel logLogLevel, object content)
RuntimeUnityEditor.Core
Definition:
GameObjectSearcher.cs:9
RuntimeUnityEditor.Core.LogLevel
LogLevel
Definition:
LogLevel.cs:7
RuntimeUnityEditor
Definition:
GameObjectSearcher.cs:9
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
BepinRUE
RUEInvoker.cs
Generated by
1.9.3