public CerberusWindowWithFilesListLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon) { directoryPathContentSize = Vector2.zero; typeButtonSufix = string.Empty; nameButtonSufix = string.Empty; sizeButtonSufix = string.Empty; }
private void InitGui() { if (cerberusStyles != null) { return; } cerberusStyles = new CerberusStyles(); InitWindowsLayouts(); }
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(); }
public CerberusCleanWindowLayout(CerberusCleanLogic cerberusCleanLogic, CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon) { this.cerberusCleanLogic = cerberusCleanLogic; }
public CerberusWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon) { this.cerberusStyles = cerberusStyles; this.windowIcon = windowIcon; }
public CerberusMainWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon) { }
public CerberusOrganizeWindowLayout(CerberusStyles cerberusStyles, Texture windowIcon) : base(cerberusStyles, windowIcon) { }