Skip to content

Commit

Permalink
弥补git失误
Browse files Browse the repository at this point in the history
  • Loading branch information
Lixue9jiu committed Apr 21, 2018
1 parent 567df5a commit 3018a90
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 69 deletions.
24 changes: 0 additions & 24 deletions Assets/_Scripts/Core/GlobalObjManager.cs

This file was deleted.

13 changes: 0 additions & 13 deletions Assets/_Scripts/Core/GlobalObjManager.cs.meta

This file was deleted.

33 changes: 1 addition & 32 deletions Assets/_Scripts/UI/ConsoleWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,9 @@ public class ConsoleWindow : BaseWindow

int currentHistory = 0;

<<<<<<< HEAD
private void OnEnable()
=======
private void Start()
{
currentHistory = history.Count;
}

private void Awake()
{
AssignCommand("help", (args) =>
{
foreach (string s in commands.Keys)
{
ConsoleLog.Log(s);
}
});
}

public void AssignCommand(string name, System.Action<string[]> action)
{
commands.Add(name, action);
}

public void RemoveCommand(string name)
>>>>>>> b63ce56b5cda98e10e93d15b0b6f72ae85fb4c08
{
currentHistory = Console.history.Count;
currentHistory = Console.history.Count;
}

private void Update()
Expand Down Expand Up @@ -98,17 +73,11 @@ public static string text
static StringBuilder strBuilder = new StringBuilder();
public static bool needFresh = false;

<<<<<<< HEAD
public static ILogHandler logHandler;

static ConsoleLog()
{
logHandler = new Handler ();
=======
static ConsoleLog()
{
new Handler ();
>>>>>>> b63ce56b5cda98e10e93d15b0b6f72ae85fb4c08
}

public static void Log(string str)
Expand Down

0 comments on commit 3018a90

Please sign in to comment.