Example #1
0
        private void OnGUI()
        {
            switch (selectionSetting)
            {
            case SelectionSetting.PC_RTS:
                SelectionManager.DrawBox(selectionBoxStyle);
                break;

            case SelectionSetting.Mobile:
                break;
            }
        }
 protected virtual void DrawBox(GUIStyle style)
 {
     SelectionManager.DrawBox(style);
 }
Example #3
0
 protected virtual void OnDrawGUI()
 {
     SelectionManager.DrawBox(GUIStyle.none);
 }
Example #4
0
 void OnGUI()
 {
     SelectionManager.DrawBox(SelectionBoxStyle);
 }