跳到正文
Qiita · Unity 开发社区· 来源· ELIXIR·· 4 小时前AI 评分1

VS Code 中 Unity 项目 PNG 文件不显示时的解决方法

[Vscode]画像ファイルがフォルダ下に表示されないとき

正文 · 原文

0

Go to list of users who liked

0

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Unityプロジェクトを開いて、.png等を確認したいのにフォルダ下に表示されない場合、
image.png

Unityが自動生成した .vscode/settings.json の "files.exclude" 設定で、デフォルトで "**/*.png": true(PNGファイルをエクスプローラー上で非表示にする設定)になっている場合があります。

settings.json

{
    "files.exclude": {
        "**/.DS_Store": true,
        "**/.git": true,
        "**/.vs": true,
            :
        "**/*.jpg": true,
        "**/*.jpeg": true,
        "**/*.png": true,
            :
        "temp/": true,
        "Temp/": true
    },
        :
}

これをfalseにすることで表示されるようになります。

settings.json

{
    "files.exclude": {
        "**/.DS_Store": true,
        "**/.git": true,
        "**/.vs": true,
            :
        "**/*.jpg": false,
        "**/*.jpeg": false,
        "**/*.png": false,
            :
        "temp/": true,
        "Temp/": true
    },
        :
}

image.png

以上です。

0

Go to list of users who liked

0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme

What you can do with signing up

0

Go to list of users who liked

0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

来源:Qiita · Unity 开发社区 · qiita.com