instance method
public void OpenFile (SupportedFileType[] supportedTypes, Action<bool, OpenedFile> onCompletion)
Presents a native dialog to the user which allows them to select a
single file to be opened. The selected file contents are then loaded
into memory managed by an instance of the OpenedFile
class.
supportedTypes
onCompletion
See NativeFileSO.OpenFile(SupportedFileType[], Action<bool, OpenedFile>)
for more information on the usage of this method.