unity shader cannot show in mobile

Hi all,

I copy a shader from here: http://catlikecoding.com/unity/tutorials/star/

I find that the final “star” shows perfectly in Unity Editor, but it cannot be shown in Android platform. The shader is as follow:

Shader "Star" {
    SubShader {
        Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
        Blend SrcAlpha OneMinusSrcAlpha
        Cull Off
        Lighting Off
        ZWrite Off
        Pass {
            CGPROGRAM
                #pragma vertex vert
                #pragma fragment frag

                struct data {
                    float4 vertex : POSITION;
                    fixed4 color: COLOR;
                };

                data vert (data v) {
                    v.vertex = mul(UNITY_MATRIX_MVP, v.vertex);
                    return v;
                }

                fixed4 frag(data f) : COLOR {
                    return f.color;
                }
            ENDCG
        }
    }
}

Appreciate anyone can help. Thanks.

I Think its because unity mobile games only support one of the shader languages available and I think that is Shaderlab, Just do a simple google search and it should show you the language that mobile supports.