Screenshot Share (Share Sheet)
Last updated
Share text/URL and optionally a screenshot/image using the native share sheet.
ShareSheetShow
ShareSheetGetError (optional)
text (String)
url (String)
State: ShowShareSheet
Action: ShareSheetShow
Provide at least one content type:
text and/or url
addScreenshot = true (optional)
image (Texture2D) (optional)
Events:
closedWithDoneEvent → Done
closedWithCancelledEvent → Cancelled
closedWithUnknownEvent → Unknown (optional handling)
closedWithFailedEvent → ShareSheetGetError (optional) then show error
ShareSheetResultCode.Unknown can happen on platforms where the OS cannot report the final user action.
Last updated