Skip to content

Commit

Permalink
Fix cyclic unity build error
Browse files Browse the repository at this point in the history
  • Loading branch information
limoka committed Feb 17, 2022
1 parent 2392f29 commit 455e13f
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 85 deletions.
2 changes: 1 addition & 1 deletion NebulaUnity/Assets/Scenes/ChatWindowScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions NebulaUnity/Assets/Scripts.meta

This file was deleted.

43 changes: 0 additions & 43 deletions NebulaUnity/Assets/Scripts/InitDSPCode.cs

This file was deleted.

11 changes: 0 additions & 11 deletions NebulaUnity/Assets/Scripts/InitDSPCode.cs.meta

This file was deleted.

15 changes: 0 additions & 15 deletions NebulaUnity/Assets/Scripts/debugAssembly.asmdef

This file was deleted.

7 changes: 0 additions & 7 deletions NebulaUnity/Assets/Scripts/debugAssembly.asmdef.meta

This file was deleted.

44 changes: 44 additions & 0 deletions NebulaWorld/MonoBehaviours/Local/Chat/UnityDebugManager.cs
Original file line number Diff line number Diff line change
@@ -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);
}
}
}

0 comments on commit 455e13f

Please sign in to comment.