コード例 #1
0
    private void CleanUp()
    {
        SetupUnityForGit window = GetWindow <SetupUnityForGit>(true, "Setup Unity For Git", true);

        window.Close();
        Debug.LogWarning("Removing Unity Git Setup Tool");
        AssetDatabase.MoveAssetToTrash("Assets/UnityGitSetup");
    }
コード例 #2
0
    public static void SetupWindow()
    {
        SetupUnityForGit window = GetWindow <SetupUnityForGit>(true, "Setup Unity For Git", true);

        window.minSize = new Vector2(340, 360);
        window.maxSize = new Vector2(340, 1024);

        window.BuildPackageList();
    }