Esempio n. 1
0
 private void RefreshAccess()
 {
     m_info.m_readMe        = ReadMeUtility.GetReadMeFile(m_selector);
     m_info.m_sample        = SampleUtility.GetSampleFolder(m_selector);
     m_info.m_documentation = DocumentationUtility.GetDocumentFolder(m_selector);
     m_info.m_changelog     = ChangeLogUtility.GetReadMeFile(m_selector);
     m_info.m_license       = LicenseUtility.GetReadMeFile(m_selector);
     QuickGit.GetGitInDirectory(m_selector.GetAbsolutePath(true), out m_info.m_gitLink, false);
 }
Esempio n. 2
0
    void OnGUI()
    {
        UnityPathSelectionInfo.Get(out m_pathFound, out m_selector);
        GUILayout.Label("Read Me: " + m_selector.GetRelativePath(false), EditorStyles.boldLabel);
        ReadMeFileStream f = ReadMeUtility.GetReadMeFile(m_selector);

        QuickGit.GetGitInParents(m_selector.GetAbsolutePath(false), QuickGit.PathReadDirection.LeafToRoot, out m_gitLink);

        //QuickGit.GetGitInDirectory(m_selector.GetAbsolutePath(false), out m_gitLink, true);
        DrawEditorDefaultInterface(f, ref m_gitLink, ref m_text, ref m_hide);
    }