} //END CallRequestVideoThumbnailEvent

        //------------------------------------//
        private void RequestThumbnailComplete(Texture thumbnail)
        //------------------------------------//
        {

            if (thumbnails == null) { thumbnails = new List<Texture>(); }

            if (showOnColorTweener && uiColorTweener != null)
            {
                uiColorTweener.SetTexture(thumbnail);
            }

            //if( onThumbnailReady != null ) { onThumbnailReady.Invoke( thumbnail ); }

        } //END RequestThumbnailComplete
Example #2
0
        } //END SendFloorTrackingLostEvent

        //--------------------------------------//
        public override void SetFloorTrackerIconTexture( Texture newFloorIconTexture )
        //--------------------------------------//
        {
#if VUFORIA
            if ( newFloorIconTexture != null )
            {
                floorIconTexture = newFloorIconTexture;
            }
            
            if( floorIconTexture == null )
            {
                floorIconTexture = defaultFloorPlaneIconTexture;
            }

            //Debug.Log("floorIconTexture = " + floorIconTexture.name );

            if (floorIconColorTweener != null)
            {
                floorIconColorTweener.SetTexture(floorIconTexture);
            }
#endif

        } //END SetFloorTrackerIconTexture