GetRemotesList() 공개 정적인 메소드

public static GetRemotesList ( ) : string[]
리턴 string[]
예제 #1
0
    public static void Init()
    {
        // Get existing open window or if none, make a new one:
        Instance = EditorWindow.GetWindow <GitFetchWindow>(true, "Git Fetch");

        Instance.remotes = GitSystem.GetRemotesList();

        for (int i = 0; i < Instance.remotes.Length; i++)
        {
            if (Instance.remotes[i] == GitSystem.currentRemote)
            {
                Instance.remoteSelection = i;
            }
        }
    }