Screenshot Share (Share Sheet)
Goal
Share text/URL and optionally a screenshot/image using the native share sheet.
Actions used
ShareSheetShowShareSheetGetError(optional)
Variables
text(String)url(String)
Flow
State:
ShowShareSheetAction:
ShareSheetShowProvide at least one content type:
textand/orurladdScreenshot = true(optional)image(Texture2D) (optional)
Events:
closedWithDoneEventβ DoneclosedWithCancelledEventβ CancelledclosedWithUnknownEventβ Unknown (optional handling)closedWithFailedEventβShareSheetGetError(optional) then show error
Notes
ShareSheetResultCode.Unknowncan happen on platforms where the OS cannot report the final user action.
Last updated
Was this helpful?