How to set texture wrapping mode on Unity ?

Hi,
I want to use the wrapping mode option like “GL_CLAMP_TO_EDGE” on shader with Unity.I want to tile texture with clamping.
I challenged this

    		sampler2D _MainTex = sampler_state
     		{
     			AddressU = CLAMP;
     			AddressV = CLAMP;
     		};

but texture is not clamped.

How to set texture wrapping mode on Unity ?

You need to set them in the inspector.

Thank you for your replying Daniel !

I’ll use the inspector and scripts

Is there any way to set different horizontal and vertical wrap modes?