This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running Prebuild steps | |
In quiet period, build will start momentarily... | |
Agent pid 3144 | |
All identities removed. | |
Removing bvr | |
Successfully uninstalled bvr-1.8.2 | |
done. | |
bvr 1.8.2 | |
bvr-api 0.3.5 | |
prebuildstatus finished successfully. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if UNITY_EDITOR | |
var mockLoginDialog = GameObject.FindObjectOfType<Facebook.Unity.Editor.Dialogs.MockLoginDialog>(); | |
if (mockLoginDialog != null) { | |
typeof(Facebook.Unity.Editor.Dialogs.MockLoginDialog).GetField("accessToken", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).SetValue(mockLoginDialog, "your_access_token"); | |
typeof(Facebook.Unity.Editor.Dialogs.MockLoginDialog).GetMethod("SendSuccessResult", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).Invoke(mockLoginDialog, null); | |
MonoBehaviour.Destroy(mockLoginDialog); | |
} | |
#endif |