void OnEnable() { //btnMenu.onClick.AddListener(() => HomePanel.OpenPanel()); //btnMenu.onClick.AddListener(() => OnBarsToggled(this, false)); //btnMenu.onClick.AddListener(delegate { ToggleMenu(); } ); btnLoad.onClick.AddListener(() => DetailPanel.OpenPanel()); btnLoad.onClick.AddListener(() => StartApp()); btnDetails.onClick.AddListener(() => DetailPanel.OpenPanel()); btnDetails.onClick.AddListener(() => StopFeed()); btnRadiograph.onClick.AddListener(() => RadiographsPanel.OpenPanel()); btnRadiograph.onClick.AddListener(() => StopFeed()); btnMovement.onClick.AddListener(() => MovementPanel.OpenPanel()); btnMovement.onClick.AddListener(() => StopFeed()); btnSimulation.onClick.AddListener(() => SimulationPanel.OpenPanel()); btnSimulation.onClick.AddListener(() => StopFeed()); btnVideo.onClick.AddListener(() => VideoPanel.OpenPanel()); btnVideo.onClick.AddListener(() => StopFeed()); btnCamera.onClick.AddListener(() => CameraPanel.OpenPanel()); btnCamera.onClick.AddListener(() => LaunchFeed()); btnSnapshot.onClick.AddListener(() => SnapShot()); btnGallery.onClick.AddListener(() => NativeToolkit.PickImage()); Core.SubscribeEvent("OnPanelOpened", OnPanelOpened); Core.SubscribeEvent("OnToggleBars", OnBarsToggled); InputControls.GestureDetected += OnGestureDetected; //Moverio 4.5 ~ 4.6 with Input.GetMouse events InputControls.BackButtonPressed += InputControls_BackButtonPressed; InputControls.MenuButtonPressed += InputControls_MenuButtonPressed; NativeToolkit.OnImageSaved += NativeToolkit_OnImageSaved; ARDirectoryManager.OnImageLoadComplete += ARDirectoryManager_OnImageLoadComplete; }
public void OnPickImagePress() { NativeToolkit.PickImage(); }
public void OnPickImagePress() { NativeToolkit.PickImage(); pathText.text = "testing"; }
public void ChoosePicture() { NativeToolkit.PickImage(); }
void SelectPhoto() { NativeToolkit.PickImage(); }