diff --git a/Plugins/SimpleFileBrowser/Android/FBDirectoryReceiveCallbackAndroid.cs b/Plugins/SimpleFileBrowser/Android/FBDirectoryReceiveCallbackAndroid.cs index 253b09c..d106760 100644 --- a/Plugins/SimpleFileBrowser/Android/FBDirectoryReceiveCallbackAndroid.cs +++ b/Plugins/SimpleFileBrowser/Android/FBDirectoryReceiveCallbackAndroid.cs @@ -14,6 +14,7 @@ public FBDirectoryReceiveCallbackAndroid( FileBrowser.AndroidSAFDirectoryPickCal callbackHelper = new GameObject( "FBCallbackHelper" ).AddComponent(); } + [UnityEngine.Scripting.Preserve] public void OnDirectoryPicked( string rawUri, string name ) { callbackHelper.CallOnMainThread( () => DirectoryPickedCallback( rawUri, name ) ); diff --git a/Plugins/SimpleFileBrowser/Android/FBPermissionCallbackAndroid.cs b/Plugins/SimpleFileBrowser/Android/FBPermissionCallbackAndroid.cs index b7661ea..492d8f7 100644 --- a/Plugins/SimpleFileBrowser/Android/FBPermissionCallbackAndroid.cs +++ b/Plugins/SimpleFileBrowser/Android/FBPermissionCallbackAndroid.cs @@ -15,6 +15,7 @@ public FBPermissionCallbackAndroid( object threadLock ) : base( "com.yasirkula.u this.threadLock = threadLock; } + [UnityEngine.Scripting.Preserve] public void OnPermissionResult( int result ) { Result = result; diff --git a/Plugins/SimpleFileBrowser/README.txt b/Plugins/SimpleFileBrowser/README.txt index 0dea457..e2c7f85 100644 --- a/Plugins/SimpleFileBrowser/README.txt +++ b/Plugins/SimpleFileBrowser/README.txt @@ -1,4 +1,4 @@ -= Simple File Browser (v1.6.5) = += Simple File Browser (v1.6.6) = Documentation: https://github.com/yasirkula/UnitySimpleFileBrowser FAQ: https://github.com/yasirkula/UnitySimpleFileBrowser#faq diff --git a/package.json b/package.json index aeffc63..00e9270 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.yasirkula.simplefilebrowser", "displayName": "Simple File Browser", - "version": "1.6.5", + "version": "1.6.6", "documentationUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser", "changelogUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/releases", "licensesUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/blob/master/LICENSE.txt",