Skip to content

Commit 25238bc

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents c1fae08 + c673536 commit 25238bc

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,50 @@
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 to use it:
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+
32+
## Rus readme
333
### Установка:
434
1. Открыть [релизы](https://github.com/mentoster/Unity-CertainCameraScreenshot/releases)
535
2. Скачать пакет RecorderScript.unitypackage при открытом unity.
636
3. Разрешить импорт в редакторе unity. (В случае, если вам не нужен контроллер камеры - отключите импорт Ghost skript)
37+
738
### Использование:
839
1. Перетащить префаб необходимой камеры на сцену, с которой необходимо сделать скриншот или видео.
940
2. В случае необходимости поменять кнопки в контроллерах.
1041
3. Запустить сцену и нажать необходимую кнопку. (С-для скриншота, V-для видео, по умолчанию)
42+
1143
## Ура! Теперь остальное!
1244
* Если видео не записывается, или не делается скриншот - камеры не работают, для повышения производительности соответсвенно.
1345
* Разрешение видео зависит от текстуры, поэтому если вы хотите другое разрешение, просто поменяйте разрешение текстуры.
1446
* Скриншоты Автоматически подстраивается под ваш экран.
15-
* Программа Автоматически создаёт папку в вашем проекте под названием Screenshots и кидает туда скриншоты!
47+
* Программа Автоматически создаёт папку в вашем проекте под названием Screenshots и кидает туда скриншоты или видео в похожую папку!
1648
* Вы так же можете изменить формат записи имени и путь сохранения скриншотов(видео).
1749

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

0 commit comments

Comments
 (0)