예제 #1
0
    void OnGUI()
    {
        if (CameraUtil.IsFaded)
        {
            return;
        }

        switch (SelectionMethod)
        {
        case SelectionType.MIDDLE_SCREEN:
            GUIHelpers.DrawCrossHair(SelectionType.MIDDLE_SCREEN);
            break;

        case SelectionType.MOUSE:
            GUIHelpers.DrawCrossHair(SelectionType.MOUSE);
            break;
        }
    }