LoginSignup
2
2

More than 5 years have passed since last update.

unity > fileIO > ファイルの存在確認 > System.IO.File.Exists(filename)

Last updated at Posted at 2015-08-27
動作確認
Unity 5.1.2-f1 on MacOS X 10.8.5

ファイルの存在確認にはSystem.IO.File.Exists()を使う
https://msdn.microsoft.com/ja-jp/library/system.io.file.exists(v=vs.110).aspx

if (System.IO.File.Exists (kDicFile) == false) {
    Debug.Log("file not found");
}
2
2
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
2
2