diff --git a/NebulaUnity/Assets/Scenes/ChatWindowScene.unity b/NebulaUnity/Assets/Scenes/ChatWindowScene.unity index 182e17c7b..30050203f 100644 --- a/NebulaUnity/Assets/Scenes/ChatWindowScene.unity +++ b/NebulaUnity/Assets/Scenes/ChatWindowScene.unity @@ -1116,7 +1116,7 @@ MonoBehaviour: m_GameObject: {fileID: 1897700701} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: eea5d9e070c1455479ad7ef227658709, type: 3} + m_Script: {fileID: 1412520128, guid: 6157fa478a4d3854cb69db360cc2bc2a, type: 3} m_Name: m_EditorClassIdentifier: --- !u!114 &1897700708 diff --git a/NebulaUnity/Assets/Scripts.meta b/NebulaUnity/Assets/Scripts.meta deleted file mode 100644 index 864ac9529..000000000 --- a/NebulaUnity/Assets/Scripts.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cbbe6109cc0bf1f4eafa21008423ae39 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/NebulaUnity/Assets/Scripts/InitDSPCode.cs b/NebulaUnity/Assets/Scripts/InitDSPCode.cs deleted file mode 100644 index 977eccb94..000000000 --- a/NebulaUnity/Assets/Scripts/InitDSPCode.cs +++ /dev/null @@ -1,43 +0,0 @@ -using NebulaModel.Logger; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using ILogger = NebulaModel.Logger.ILogger; - -public class InitDSPCode : MonoBehaviour -{ - private void Awake() - { - VFInput.Init(); - Log.Init(new EditorLogger()); - } - - private void Update() - { - VFInput.OnUpdate(); - } - -} - -public class EditorLogger : ILogger -{ - public void LogDebug(object data) - { - Debug.Log(data); - } - - public void LogInfo(object data) - { - Debug.Log(data); - } - - public void LogWarning(object data) - { - Debug.LogWarning(data); - } - - public void LogError(object data) - { - Debug.LogError(data); - } -} \ No newline at end of file diff --git a/NebulaUnity/Assets/Scripts/InitDSPCode.cs.meta b/NebulaUnity/Assets/Scripts/InitDSPCode.cs.meta deleted file mode 100644 index bed934033..000000000 --- a/NebulaUnity/Assets/Scripts/InitDSPCode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eea5d9e070c1455479ad7ef227658709 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/NebulaUnity/Assets/Scripts/debugAssembly.asmdef b/NebulaUnity/Assets/Scripts/debugAssembly.asmdef deleted file mode 100644 index b94bc7237..000000000 --- a/NebulaUnity/Assets/Scripts/debugAssembly.asmdef +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "debugAssembly", - "references": [], - "optionalUnityReferences": [], - "includePlatforms": [], - "excludePlatforms": [], - "allowUnsafeCode": false, - "overrideReferences": true, - "precompiledReferences": [ - "Assembly-CSharp.dll", - "NebulaModel.dll" - ], - "autoReferenced": true, - "defineConstraints": [] -} \ No newline at end of file diff --git a/NebulaUnity/Assets/Scripts/debugAssembly.asmdef.meta b/NebulaUnity/Assets/Scripts/debugAssembly.asmdef.meta deleted file mode 100644 index 4b85e4479..000000000 --- a/NebulaUnity/Assets/Scripts/debugAssembly.asmdef.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: eb3064606f00f284b8308b5110e2267f -AssemblyDefinitionImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/NebulaWorld/MonoBehaviours/Local/Chat/UnityDebugManager.cs b/NebulaWorld/MonoBehaviours/Local/Chat/UnityDebugManager.cs new file mode 100644 index 000000000..b57c9de96 --- /dev/null +++ b/NebulaWorld/MonoBehaviours/Local/Chat/UnityDebugManager.cs @@ -0,0 +1,44 @@ +using NebulaModel.Logger; +using UnityEngine; +using ILogger = NebulaModel.Logger.ILogger; + +namespace NebulaWorld.MonoBehaviours.Local +{ + public class UnityDebugManager : MonoBehaviour + { + private void Awake() + { + VFInput.Init(); + Log.Init(new EditorLogger()); + } + + private void Update() + { + VFInput.OnUpdate(); + } + } + + + public class EditorLogger : ILogger + { + public void LogDebug(object data) + { + Debug.Log(data); + } + + public void LogInfo(object data) + { + Debug.Log(data); + } + + public void LogWarning(object data) + { + Debug.LogWarning(data); + } + + public void LogError(object data) + { + Debug.LogError(data); + } + } +} \ No newline at end of file