Beispiel #1
0
        public static Color GetBgColor(bool isOddRow, bool isSelected)
        {
            WindowConsole console = WindowConsole.Instance;
            Color         color;

            if (isSelected)
            {
                color = console.bgLogSelected;
            }
            else
            {
                color = isOddRow ? console.bgLogDark : console.bgLogLight;
            }
            return(color);
        }
Beispiel #2
0
 void Awake()
 {
     m_instance = this;
 }