Spout.SpoutReceiver.TexStopped C# (CSharp) Method

TexStopped() public method

public TexStopped ( Spout.TextureInfo texInfo ) : void
texInfo Spout.TextureInfo
return void
		public void  TexStopped(TextureInfo texInfo)
		{
			//Debug.Log("SpoutReceiver.texStopped:"+texInfo.name);
			if(texInfo.name == _sharingName)
			{		
				//Debug.Log("SpoutReceiver.texStopped:"+texInfo.name);
				texture = Spout.nullTexture;

				
			}
			else if(sharingName == "Any" && Spout.instance.activeSenders.Count > 0)
			{
				texture = Spout.instance.activeSenders[Spout.instance.activeSenders.Count-1].getTexture();
			}
		}