コード例 #1
0
        public LogGUI(LogView logView)
        {
            this.logView                = logView;
            this.config                 = logView.config;
            logStyle                    = new GUIStyle();
            logStyle.font               = config.font;
            logStyle.fontSize           = 16;
            logStyle.richText           = true;
            logStyle.wordWrap           = true;
            logStyle.normal.textColor   = config.infoColor;
            logStyle.hover.textColor    = config.warnColor;
            logStyle.active.textColor   = config.warnColor;
            logStyle.onHover.textColor  = config.warnColor;
            logStyle.onActive.textColor = config.warnColor;

            logButtonStyle = new GUIStyle();
            logButtonStyle.normal.textColor = config.infoColor;
            logButtonStyle.font             = config.font;
            logButtonStyle.fontSize         = 16;
            logButtonStyle.richText         = true;
            logButtonStyle.wordWrap         = true;
            logButtonStyle.fixedHeight      = 18;
            logButtonStyle.fixedWidth       = Screen.width;
        }
コード例 #2
0
 public LogInputHandler(LogView t)
 {
     terminal = t;
 }