Output() public static method

public static Output ( string log ) : void
log string
return void
        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);
        }
Example #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);
        }
Example #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);
        }
Example #4
0
        static public void ShowHelp()
        {
            var help = AssetHelper.Load <TextAsset>(helpTextFile);

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

            Log.Output(help.text);
        }