Output() public static method

public static Output ( string log ) : void
log string
return void
Exemplo n.º 1
0
        static public void ShowCommands()
        {
            var commands = table
                           .Select(pair => string.Format(
                                       "- <b><i><color=#88ff88ff>{0}</color></i></b>\n" +
                                       "{1}",
                                       pair.Key,
                                       pair.Value.description))
                           .Aggregate((str, x) => str + "\n" + x);

            Log.Output(commands);
        }
Exemplo n.º 2
0
        static public void ShowCommands()
        {
            var commands = commands_
                           .Select(x => string.Format(
                                       "- <b><i><color=#88ff88ff>{0}</color></i></b>\n" +
                                       "{1}",
                                       x.command,
                                       x.description))
                           .Aggregate((str, x) => str + "\n" + x);

            Log.Output(commands);
        }
Exemplo n.º 3
0
        static public void ShowHistory()
        {
            if (Window.selected == null)
            {
                return;
            }

            string histories = "";
            int    num       = Window.selected.history.Count;

            foreach (var command in Window.selected.history.list.ToArray().Reverse())
            {
                histories += string.Format("{0}: {1}\n", num, command);
                --num;
            }
            Log.Output(histories);
        }
Exemplo n.º 4
0
        static public void ShowHelp()
        {
            var help = AssetHelper.Load <TextAsset>(helpTextFile);

            Log.Output(help.text);
        }
Exemplo n.º 5
0
 static public void ShowUsing()
 {
     Log.Output(GetUsing());
 }
Exemplo n.º 6
0
 static public void ShowVars()
 {
     Log.Output(GetVars());
 }
Exemplo n.º 7
0
        static public void ShowHelp()
        {
            var help = Resources.Load(helpTextFile) as TextAsset;

            Log.Output(help.text);
        }