File explorer reference
Find the tasks and controls you can use in the File explorer tab of a Unity Version Control repository in the Unity Dashboard.
読み終わるまでの所要時間 4 分最終更新 1日前
The File explorer tab of a repository in the Unity Dashboard lists the files and directories on the selected branch. Use it to work with a repository's files without a desktop application. You can view and download files, check a file's history and lock status, read text and README files, and preview 3D models.
File list
The file list has the following columns:
Column | Description |
|---|---|
| Name | The name of the file or directory. |
| Last changeset | The number and comment of the most recent changeset for the file or directory. |
| Last activity | How long ago the file or directory last changed. |
Browse and manage files
The following table lists the tasks you can do in the File explorer tab:
Task | How |
|---|---|
| Switch branches | Select the branch list, then select a branch. |
| Show or hide the directory tree | Select the sidebar icon. |
| Search by file name | Enter a file name in the Search box. |
| Open the repository in a desktop application | Select Open in app, then select Open in UVCS or Open in Gluon. |
| View the permissions of a file | Select the ⋯ menu next to the file, then select Permissions. |
Open a file
To open a file, select it in the file list. The file view displays the following information about the file:
- The file's path
- The author, number, and comment of the most recent changeset for the file, and how long ago the file changed
- The file size
- Whether the file is locked
You can do the following tasks in the file view:
Task | How |
|---|---|
| Copy the path of the file | Select Copy path to clipboard. |
| Download the file | Select Download file. |
For more information about locked files, refer to Smart Locks.
The file view has extra features for text files and 3D files. For more information, refer to View a text file and Preview a 3D file.
View the history of a file
To view the history of a file, do one of the following:
- In the file view, select History.
- In the file list, select the ⋯ menu next to the file, then select History.
The File history page lists the changesets that changed the file on the selected branch, grouped by date. Each entry shows the following information:
- The changeset number and comment
- The action, such as Added or Changed
- The author, time, and branch
You can do the following tasks on the File history page:
Task | How |
|---|---|
| Find a changeset | Search by comment, author, or branch, or filter by Date or Action. |
| Move between pages of changesets | Select Previous or Next. |
| View the file as it was in a changeset | Select Open file for this branch on the changeset. |
| View all the repository files as they were in a changeset | Select Open repository state for this branch on the changeset. |
View a text file
When you open a text file, such as a script, the file view displays the contents of the file with line numbers, and the number of lines in the file.
You can do the following tasks in the file view of a text file:
Task | How |
|---|---|
| See who edited each line and when | Select Blame. |
| Return to the contents of the file | Select Code. |
View a Markdown file, such as | Select Preview. |
| Copy the contents of the file | Select Copy content. |
Preview a 3D file
When you open an FBX, OBJ, GLB, or glTF file, the file view displays a preview of the 3D model. The preview displays the version of the file on the selected branch. It displays base colors for FBX files, and textures for GLB and glTF files.
You can do the following tasks in the preview:
Task | How |
|---|---|
| View the model from a different side | Drag the model to rotate it. |
| Pan or zoom the model | Use your mouse or touchpad. |
The preview toolbar has the following controls. Some controls appear only for some models.
Control | Description |
|---|---|
| Pause/Play | Pause or play the animation in a loop. Available if the file contains animations. |
| Previous frame and Next frame | Step through the animation one frame at a time. Available when the animation is paused. |
| Animations | Select a different animation, if the file contains more than one. |
| Ambient light intensity | Drag the slider to make the ambient light brighter or dimmer. |
| Show wireframe | Display the model's mesh instead of the full model. |
| Light background | Switch between a light and a dark background. |
| Fullscreen | Display the preview in full screen. |
Compare versions of a 3D file
To compare a 3D file with its previous version:
- In the repository, select the Changesets tab, then open the changeset that changed the file.
- In the list of changed files, select the 3D file.
The changeset page displays the previous version and the changed version of the model side by side. Each preview has its own toolbar.
Add a README file
To display a README in the File explorer tab, add a file to the root directory of the repository and check it in. The File explorer tab then displays the contents of the file with the file list.
readme.md