private void Awake() { dispatcher = Dispatcher.GetInstance(); utilsPlugin = UtilsPlugin.GetInstance(); utilsPlugin.SetDebug(0); imagePickerPlugin = ImagePickerPlugin.GetInstance(); imagePickerPlugin.SetDebug(0); // init image picker instance imagePickerPlugin.Init(); }
// Use this for initialization void Start() { sharePlugin = SharePlugin.GetInstance(); sharePlugin.SetDebug(0); imagePickerPlugin = ImagePickerPlugin.GetInstance(); imagePickerPlugin.SetDebug(0); imagePickerPlugin.Init(); imagePickerPlugin.SetImagePickerCallbackListener(onGetImageComplete, onGetImageCancel, onGetImageFail); EnableDisableShareButton(false); }
// Use this for initialization void Start() { // needed to run the callback on the main thread dispatcher = Dispatcher.GetInstance(); imagePickerPlugin = ImagePickerPlugin.GetInstance(); imagePickerPlugin.SetDebug(0); // init image picker instance imagePickerPlugin.Init(); // add eventlisteners AddEventListener(); }
// Use this for initialization void Start() { dispatcher = Dispatcher.GetInstance(); sharePlugin = SharePlugin.GetInstance(); sharePlugin.SetDebug(0); imagePickerPlugin = ImagePickerPlugin.GetInstance(); imagePickerPlugin.SetDebug(0); // init image picker instance imagePickerPlugin.Init(); // add eventlisteners AddEventListener(); EnableDisableShareButton(false); }
// Use this for initialization void Start() { sharePlugin = SharePlugin.GetInstance(); sharePlugin.SetDebug(0); imagePickerPlugin = ImagePickerPlugin.GetInstance(); imagePickerPlugin.SetDebug(0); imagePickerPlugin.Init(); imagePickerPlugin.SetImagePickerCallbackListener(onGetImageComplete,onGetImageCancel,onGetImageFail); EnableDisableShareButton(false); }