This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class HiResScreenShots : MonoBehaviour { | |
| public int resWidth = 2550; | |
| public int resHeight = 3300; | |
| private bool takeHiResShot = false; | |
| public static string ScreenShotName(int width, int height) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class NumbersHelper | |
| { | |
| /// <summary> | |
| /// Возвращает слова в падеже, зависимом от заданного числа | |
| /// </summary> | |
| /// <param name="number">Число от которого зависит выбранное слово</param> | |
| /// <param name="nominativ">Именительный падеж слова. Например "день"</param> | |
| /// <param name="genetiv">Родительный падеж слова. Например "дня"</param> | |
| /// <param name="plural">Множественное число слова. Например "дней"</param> | |
| /// <returns></returns> |
OlderNewer