Предложить изменения
Успех!
Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.
Закрыть
Ошибка внесения изменений
По определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.
Закрыть
Руководство
public static function GetGameRating(name:
string):
int;
public static int GetGameRating(string name);
Параметры
| name |
The name of the ratings board that you want the rating value for. |
Возврат значений
int
The current rating level. The meaning of the value depends on the name of the ratings board. The value corresponds to the entries the rating board's drop down menu, top most entry being 0 and each item lower in the list being 1 higher than the previous.
Описание
Get the rating value that is specified in the appxmanifest.xml file for the given ratings board.
The names and values correspond to the what you'll see in the the Player Settings > Xbox One > Publishing Settings > Game Age Ratings settings. The names are on the left, and the values are in the drop down menus.