ドキュメント

Unity Engine

Unity Engine

FileName(string, string, string)

The file name a table is stored under, with characters invalid in a file name replaced.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static string FileName(string collectionName, string localeCode, string extension)

Parameters

collectionName

The collection name.

localeCode

The locale code.

extension

The file extension without the leading dot.

Returns

Type

Description

stringThe file name the table is stored under.

Remarks

The form is
{collectionName}_{localeCode}.{extension}
. The locale code is lowercased, so a table authored as
pt-BR
and a locale requesting
pt-br
resolve to the same file on case-sensitive file systems.