You can record and share your gameplay.
English | 日本語
- >= Unity 5.3
- >= iOS 8
(iOS Only, Without sound)
- Import
RecShare.unitypackage - If the sample is necessary, import additional
RecShareSample.unitypackage
Perform the initial processing. You need call before start recording.
Start recording.
Stop recording.
completionCalled at record completion
Pause recording.
Resume Recording.
if during recording, return the `true'.
if during pausing, return the `true'.
Show sharing sheet.
textsharing text
Show video player.
Return the recorded video file path.
Return the recorded video duration.
Return the screen shot image.
* `seconds` Time to take screen shot.(sec)1
Set the recording interval. Default is `1' (recording every frame)
frameIntervalrecording interval (frame)
Set the video of the first to insert the image in Texture2D.
You need to run before the start of recording.
tex2dInsert imageimageSizeImage sizedisplayTimeDisplay time(sec)bgColorBackground color(default:Color.black)
Texture2D must be readable.(
Read / Write Enabled)
void RecShare.SetFirstImage(string imageName, Vector2 imageSize, float displayTime[, Color bgColor])
Set the video of the first to lat the image in Texture2D.
You need to run before the start of recording.
imageNameImage nameimageSizeImage sizedisplayTimeDisplay time(sec)bgColorBackground color(default:Color.black)
You can set image to
Assets/RecShare/Editor/ImagesorAssets/RecShare/Editor/Images.xcassets. if set toImages.xcassets, you need to Asset Catalog format.
Set the video of the last to insert the image in Texture2D.
You need to run before the start of recording.
tex2dInsert imageimageSizeImage sizedisplayTimeDisplay time(sec)bgColorBackground color(default:Color.black)
Texture2D must be readable.(
Read / Write Enabled)
Set the video of the last to lat the image in Texture2D.
You need to run before the start of recording.
imageNameImage nameimageSizeImage sizedisplayTimeDisplay time(sec)bgColorBackground color(default:Color.black)
You can set image to
Assets/RecShare/Editor/ImagesorAssets/RecShare/Editor/Images.xcassets. if set toImages.xcassets, you need to Asset Catalog format.
Set the image superimposed on the video in Texture2D.
You need to run before the start of recording.
If you use the SetOverlayImage, CPU consumption during the recording will increase.
tex2dOverlay imageimageSizeImage sizealignmentImage alignment
Texture2D must be readable.(
Read / Write Enabled)
Set the image superimposed on the video in image name.
You need to run before the start of recording.
If you use the SetOverlayImage, CPU consumption during the recording will increase.
imageNameImage nameimageSizeImage sizealignmentImage alignment
You can set image to
Assets/RecShare/Editor/ImagesorAssets/RecShare/Editor/Images.xcassets. if set toImages.xcassets, you need to Asset Catalog format.