Log in or register to post comments

Diabling the menu that appears on double clicking on camera

September 11, 2014 - 11:24am #1
Dear,
I added vuforia plugina to a blank project, and Ive commented out line 24 in CloudRecoSceneManager.cs to diable the options menu from appearing when double clicking on the camera. and it works good.
However, when I added the videoplayback example , the menu reappeared.
Any idea on how to disable it?
 
AttachmentSize
Image icon Screenshot_2014-09-06-02-18-49.png95.79 KB

Diabling the menu that appears on double clicking on camera

October 9, 2014 - 1:49pm #2

The easiest way is to modify the InitManager() method on line 30 in AppManager.cs to..

 

    public virtual void InitManager () 
    {
        mSplashView = new SplashScreenView();
        mAboutView = new AboutScreenView();
        mAboutView.SetTitle(TitleForAboutPage);
        mAboutView.OnStartButtonTapped      += OnAboutStartButtonTapped;
        m_UIEventHandler.CloseView          += OnTappedOnCloseButton;
        m_UIEventHandler.GoToAboutPage      += OnTappedOnGoToAboutPage;
        InputController.SingleTapped        += OnSingleTapped;
        InputController.DoubleTapped        += OnDoubleTapped;
        InputController.BackButtonTapped    += OnBackButtonTapped;
        
       //mSplashView.LoadView();
       //StartCoroutine(LoadAboutPageForFirstTime());
       mActiveViewType = ViewType.ARCAMERAVIEW;
    }

 

Log in or register to post comments