Beispiel #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);
 }
Beispiel #3
0
 protected virtual void OnDrawGUI()
 {
     SelectionManager.DrawBox(GUIStyle.none);
 }
Beispiel #4
0
 void OnGUI()
 {
     SelectionManager.DrawBox(SelectionBoxStyle);
 }