Animate color or pixelInset prop of GUITexture in SetCurve

Does anybody know how to get access to PixelInset and Color properties on setting curve?

Here is what I try to do:

	var scaleCurve = AnimationCurve(Keyframe(0.0, 0.0), Keyframe(1.0, 34.0) );

	var clip = new AnimationClip();
	clip.SetCurve("", GUITexture, "_pixelInset.width", scaleCurve );
	clip.SetCurve("", GUITexture, "_Color.a", scaleCurve );

	animation.AddClip(clip, "Resize");
	animation.wrapMode = WrapMode.PingPong;
	animation.Play("Resize");

that is just for test. I’ll add custom curve for each property…

So, what is propertyName for GUITexture? I tried various, but have no luck :frowning:

Thanks for help.

anybody?
please, though would you share your minds, where should I try to look…?

You could try the following…

m_Enabled
m_Color.r
m_Color.g
m_Color.b
m_Color.a
m_PixelInset.x
m_PixelInset.y
m_PixelInset.width
m_PixelInset.height

Thanks a lot for your help. It works now.