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