Spout.SpoutReceiver.OnDisable C# (CSharp) Method

OnDisable() private method

private OnDisable ( ) : void
return void
		void OnDisable(){
			//Debug.Log("SpoutReceiver.OnDisable");
			#if UNITY_EDITOR
			UnityEditor.EditorApplication.update -= _Update;
			#endif
			_receiverIsReady = false;
			_startUpFrameCount = 0;

			Spout.removeListener(TexShared,TexStopped);
			texture = null;
			GC.Collect();
		}