Пример #1
0
 public CerberusWindowWithFilesListLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon)
 {
     directoryPathContentSize = Vector2.zero;
     typeButtonSufix          = string.Empty;
     nameButtonSufix          = string.Empty;
     sizeButtonSufix          = string.Empty;
 }
Пример #2
0
        private void InitGui()
        {
            if (cerberusStyles != null)
            {
                return;
            }

            cerberusStyles = new CerberusStyles();
            InitWindowsLayouts();
        }
Пример #3
0
        private void DrawAndPositionToolHeader(CerberusStyles cerberusStyles)
        {
            GUILayout.BeginVertical();
            GUILayout.Space(10);

            GUIContent headerContent = new GUIContent(CerberusTexts.CerberusMotto);

            Rect rectangle;

            PositionElementCenter(out rectangle, headerContent, cerberusStyles.BigHeaderGuiStyle);

            GUI.Label(rectangle, headerContent, cerberusStyles.BigHeaderGuiStyle);

            GUILayout.EndVertical();
        }
Пример #4
0
 public CerberusCleanWindowLayout(CerberusCleanLogic cerberusCleanLogic, CerberusStyles cerberusStyles, Texture windowIcon)
     : base(cerberusStyles, windowIcon)
 {
     this.cerberusCleanLogic = cerberusCleanLogic;
 }
Пример #5
0
 public CerberusWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon)
 {
     this.cerberusStyles = cerberusStyles;
     this.windowIcon     = windowIcon;
 }
Пример #6
0
 public CerberusMainWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon)
 {
 }
 public CerberusOrganizeWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon)
     : base(cerberusStyles, windowIcon)
 {
 }