UnityEditor.ASHistoryWindow.ASHistoryWindow C# (CSharp) Méthode

ASHistoryWindow() public méthode

public ASHistoryWindow ( EditorWindow parent ) : System
parent EditorWindow
Résultat System
        public ASHistoryWindow(EditorWindow parent)
        {
            float[] relativeSizes = new float[] { 30f, 70f };
            int[] minSizes = new int[] { 60, 100 };
            this.m_HorSplit = new SplitterState(relativeSizes, minSizes, null);
            this.m_NextSelectionMine = false;
            this.m_TotalHeight = 0;
            this.m_ScrollPos = Vector2.zero;
            this.m_SplittersOk = false;
            this.m_RowHeight = 0x10;
            this.m_HistoryControlID = -1;
            this.m_ChangesetSelectionIndex = -1;
            this.m_AssetSelectionIndex = -1;
            this.m_ChangeLogSelectionRev = -1;
            this.m_BinaryDiff = false;
            this.m_Rev1ForCustomDiff = -1;
            this.m_ScrollViewHeight = 0;
            this.m_ChangeLogSelectionGUID = string.Empty;
            this.m_ChangeLogSelectionAssetName = string.Empty;
            this.m_SelectedPath = string.Empty;
            this.m_SelectedGUID = string.Empty;
            this.m_FolderSelected = false;
            this.m_InRevisionSelectMode = false;
            this.m_DropDownMenuItems = new GUIContent[] { EditorGUIUtility.TextContent("Show History"), emptyGUIContent, EditorGUIUtility.TextContent("Compare to Local"), EditorGUIUtility.TextContent("Compare Binary to Local"), emptyGUIContent, EditorGUIUtility.TextContent("Compare to Another Revision"), EditorGUIUtility.TextContent("Compare Binary to Another Revision"), emptyGUIContent, EditorGUIUtility.TextContent("Download This File") };
            this.m_DropDownChangesetMenuItems = new GUIContent[] { EditorGUIUtility.TextContent("Revert Entire Project to This Changeset") };
            this.m_ParentWindow = null;
            this.m_FileViewWin = new ASHistoryFileView();
            this.m_ParentWindow = parent;
            ASEditorBackend.SettingsIfNeeded();
            if (Selection.objects.Length != 0)
            {
                this.m_FileViewWin.SelType = ASHistoryFileView.SelectionType.Items;
            }
        }