動作確認
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");
}
More than 5 years have passed since last update.
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");
}
Register as a new user and use Qiita more conveniently