Skip to content

Commit 7dd3433

Browse files
authored
Update ENG readme
1 parent 6c0a9a1 commit 7dd3433

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,49 @@
11
# Unity Certain Camera Recorder
22

3+
### Installation:
4+
1. Open [releases] (https://github.com/mentoster/Unity-CertainCameraScreenshot/releases)
5+
2. Download the RecorderScript.unitypackage package when unity is open.
6+
3. Allow import in the unity editor. (If you don't need a camera controller, disable Ghost script import)
7+
8+
### How use:
9+
1. Drag the video or screenshot camera's prefab to the scene.
10+
2. If u need to change the buttons in the controllers, u can do it.
11+
3. Launch the scene and click the appropriate button. (C-for screenshot, V-for video, by default)
12+
13+
## Wow! U awesome! Now about the rest
14+
* if the camera doesn't work, it is disabled to improve performance
15+
* The video resolution depends on the texture, so if you want another resolution, just change the texture resolution.
16+
* Screenshots automatically adjusts to your screen.
17+
* The program Automatically creates a folder in your project called Screenshots and throws screenshots there or video!
18+
* You can also change a recording name and the path to save screenshots (videos).
19+
20+
### Mistakes that should be ignored:
21+
1. [monsters from Doom] (https://yadi.sk/i/GJBnVsEFowxMrQ)
22+
2. Sooooo, here's what this beast tells us:
23+
* ReadPixels was called to read pixels from system frame buffer, while not inside drawing frame.
24+
* UnityEngine.Texture2D:ReadPixels(Rect, Int32, Int32)
25+
* ScreenShot:LateUpdate()
26+
3. Translate from unity language : you used a method not intended for making screenshots (that's the news, right?)!
27+
* This arises from the fact that I use LateUpdate()
28+
* And the screenshots are working through ScrnCam.Render();
29+
* If you use the method for screenshots, the screenshot will be taken from the main camera, it can be bad, if u want to take screenshot from another camera.
30+
4. I haven't figured out how to tell unity to stop displaying the error yet, so I suggest you put up with it for now.
31+
332
### Установка:
433
1. Открыть [релизы](https://github.com/mentoster/Unity-CertainCameraScreenshot/releases)
534
2. Скачать пакет RecorderScript.unitypackage при открытом unity.
635
3. Разрешить импорт в редакторе unity. (В случае, если вам не нужен контроллер камеры - отключите импорт Ghost skript)
36+
737
### Использование:
838
1. Перетащить префаб необходимой камеры на сцену, с которой необходимо сделать скриншот или видео.
939
2. В случае необходимости поменять кнопки в контроллерах.
1040
3. Запустить сцену и нажать необходимую кнопку. (С-для скриншота, V-для видео, по умолчанию)
41+
1142
## Ура! Теперь остальное!
1243
* Если видео не записывается, или не делается скриншот - камеры не работают, для повышения производительности соответсвенно.
1344
* Разрешение видео зависит от текстуры, поэтому если вы хотите другое разрешение, просто поменяйте разрешение текстуры.
1445
* Скриншоты Автоматически подстраивается под ваш экран.
15-
* Программа Автоматически создаёт папку в вашем проекте под названием Screenshots и кидает туда скриншоты!
46+
* Программа Автоматически создаёт папку в вашем проекте под названием Screenshots и кидает туда скриншоты или видео в похожую папку!
1647
* Вы так же можете изменить формат записи имени и путь сохранения скриншотов(видео).
1748

1849
### Про видео:

0 commit comments

Comments
 (0)