void OnDisable()
        {
            PlayerPrefs.SetInt("maxArea", MAX_OBJECT_AREA);
            PlayerPrefs.SetInt("minArea", MIN_OBJECT_AREA);
            PlayerPrefs.SetInt("maxNumObjects", MAX_NUM_OBJECTS);

            webCamTextureToMatHelper.Dispose();
        }
        /// <summary>
        /// Raises the disable event.
        /// </summary>
        void OnDisable()
        {
            webCamTextureToMatHelper.Dispose();

            if (cascade != null)
            {
                cascade.Dispose();
            }
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Raises the disable event.
 /// </summary>
 void OnDisable()
 {
     webCamTextureToMatHelper.Dispose();
 }
        /// <summary>
        /// Raises the disable event.
        /// </summary>
        void OnDisable()
        {
            webCamTextureToMatHelper.Dispose();

//                      Utils.setDebugMode (false);
        }