UNITY IPHONE script error

UNITY IPHONE script error

@script ExecuteInEditMode

class EdgeDetectEffectNormals extends ImageEffectBase
{	
	function Start() {
		camera.depthTextureMode = DepthTextureMode.DepthNormals;
	}
		
	function OnRenderImage (source : RenderTexture, destination : RenderTexture)
	{
		ImageEffects.BlitWithMaterial (material, source, destination);
	}
}

Assets/Edge Detection/EdgeDetectEffectNormals.js(6,24): BCE0019: ‘depthTextureMode’ is not a member of ‘UnityEngine.Camera’.

Assets/Edge Detection/EdgeDetectEffectNormals.js(6,43): BCE0005: Unknown identifier: ‘DepthTextureMode’.

How to modify the

There is no programmable pipeline, rendertextures etc on Unity iPhone 1.x

As such the way to fix it is to remove it, it won’t work.

That’s too bad