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.
completion
Called at record completion
Pause recording.
Resume Recording.
if during recording, return the `true'.
if during pausing, return the `true'.
Show sharing sheet.
text
sharing 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)
frameInterval
recording interval (frame)
Set the video of the first to insert the image in Texture2D
.
You need to run before the start of recording.
tex2d
Insert imageimageSize
Image sizedisplayTime
Display time(sec)bgColor
Background 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.
imageName
Image nameimageSize
Image sizedisplayTime
Display time(sec)bgColor
Background color(default:Color.black
)
You can set image to
Assets/RecShare/Editor/Images
orAssets/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.
tex2d
Insert imageimageSize
Image sizedisplayTime
Display time(sec)bgColor
Background 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.
imageName
Image nameimageSize
Image sizedisplayTime
Display time(sec)bgColor
Background color(default:Color.black
)
You can set image to
Assets/RecShare/Editor/Images
orAssets/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.
tex2d
Overlay imageimageSize
Image sizealignment
Image 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.
imageName
Image nameimageSize
Image sizealignment
Image alignment
You can set image to
Assets/RecShare/Editor/Images
orAssets/RecShare/Editor/Images.xcassets
. if set toImages.xcassets
, you need to Asset Catalog format.