티스토리 뷰
[1] 유니티 공식 API 또는 플러그인 찾아보기
우선 유니티에서 제공하는 API 또는 플러그인이 있나 찾아봤는데요,,
1. VideoCapture
Unity - Scripting API: VideoCapture
This API is supported in the Windows Players (Standalone and Universal Windows Platform) and in the Windows Editor. The final video recording will be stored on the local file system in the MP4 format. VideoCapture is implemented using the WinRT interface:
docs.unity3d.com
윈도우 웹캠 안에 있는 것 부터 수상했는데
윈도우에서만 됩니다.
This API is supported in the Windows Players (Standalone and Universal Windows Platform) and in the Windows Editor.
문서의 예제코드를 따라했는데 콜백이 아예 안들어오더라구요;;;;
2. Unity Recorder
이건 개발자가 자신이 개발한 게임을 녹화하고 싶을 때 사용하는 것 같아요
플러그인을 설치하면 Recorder window를 띄울 수 있고 여기서 녹화하는 것 같습니다.
[2] Screen Recording 외부 플러그인 찾아보기
결국.. 외부 플러그인을 사용해줘야하는 것 같아요
아래 플러그인은 Free 버전이고 모바일(iOS, 안드) 지원을 하려면 Full version 을 구매해야한다고 합니다.
Free 버전 넣어서 돌려보니까 iOS 빌드가 안되네요 ㅠㅠ
참고로 개발문서 도 친절하게 있습니다-!
Easy Screen Recording (Free Version) : Cross Platform Replay Kit | 기능 통합 | Unity Asset Store
Use the Easy Screen Recording (Free Version) : Cross Platform Replay Kit from Voxel Busters Interactive on your next project. Find this integration tool & more on the Unity Asset Store.
assetstore.unity.com
꼭 무료로 해야한다면 플랫폼 분기해서 iOS, 안드 플러그인을 각각 써야할 것 같네요 (ㅠㅠ)
# iOS
아래는 Free 버전(워터 마크가 나옴) 이고 Full 버전은 따로 있다고 합니다.
https://assetstore.unity.com/packages/tools/video/pmjo-s-next-gen-recorder-free-beta-143045
pmjo's Next Gen Recorder Free (Beta) | 비디오 | Unity Asset Store
Get the pmjo's Next Gen Recorder Free (Beta) package from Pauli Ojanen and speed up your game development process. Find this & other 비디오 options on the Unity Asset Store.
assetstore.unity.com
빌드세팅에서 Simulator SDK 선택한 후, 빌드하면 이런 에러가 나니,,,
Device SDK 선택하셔서 돌려주세요 (시뮬레이터에서는 테스트 불가능한 점이 아쉽네요)
# Android
https://assetstore.unity.com/packages/add-ons/adb-screen-recorder-199248#releases
ADB Screen Recorder | Add-Ons | Unity Asset Store
Get the ADB Screen Recorder package from Studio Billion and speed up your game development process. Find this & other Add-Ons options on the Unity Asset Store.
assetstore.unity.com
https://github.com/thanh-nguyen-kim/Unity_Android_Screen_Recorder
GitHub - thanh-nguyen-kim/Unity_Android_Screen_Recorder: A simpler demo record screen plugin for record Android Screen
A simpler demo record screen plugin for record Android Screen - GitHub - thanh-nguyen-kim/Unity_Android_Screen_Recorder: A simpler demo record screen plugin for record Android Screen
github.com
+ 위의 플러그인을 사용하는 예제 영상
https://www.youtube.com/watch?v=j3zGzbe9V1o
구글링하다가 iOS 플러그인은 내부적으로 Metal을 쓰는 것을 종종 봤는데,,,
Low Level Native 코드를 써야해서 iOS만 지원하는 플러그인, 안드만 지원하는 플러그인 이렇게 각각 많은 것 같은 생각이 드네요,,
(유료 구매가능 하면 맨 위의 크로스플랫폼 플러그인 쓰는 것을 추천드립니다)
'🎨 > Unity' 카테고리의 다른 글
[Unity] 네이티브 플러그인 (0) | 2022.03.24 |
---|---|
[Unity] SerializeField (0) | 2022.03.23 |
[Unity] 카메라 전환 (+시네머신) (1) | 2022.03.18 |
[Unity] Texture2D 를 Image로 보여주기 (Sprite.create) (0) | 2022.03.17 |
[Unity] 효과음 (카메라 셔터음) 넣기 (0) | 2022.03.11 |
- Total
- Today
- Yesterday
- SerializerMethodField
- Flutter Spacer
- Django FCM
- PencilKit
- flutter build mode
- Flutter 로딩
- Flutter getter setter
- 플러터 싱글톤
- Django Firebase Cloud Messaging
- Flutter Text Gradient
- Sketch 누끼
- 장고 Custom Management Command
- METAL
- 플러터 얼럿
- Watch App for iOS App vs Watch App
- ribs
- flutter 앱 출시
- 장고 URL querystring
- 구글 Geocoding API
- flutter dynamic link
- Flutter Clipboard
- DRF APIException
- github actions
- Python Type Hint
- Django Heroku Scheduler
- Dart Factory
- cocoapod
- drf custom error
- ipad multitasking
- flutter deep link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |