How do I enable the texture of a transform

New to unity and I think I have a trivial problem, but I still don’t know how unity structres everything.

I got this little setup


Basicly a tile that has an additional transform-object attached to it that should only be shown if a condition is met.

So in the start of the attached script. I do this

void Start()
{
    if ( this.isCurrentWayPoint )
    {
        this.player.addWayPoint(this);
        this.currentWayPointTransform.guiTexture.enabled = true;
    }
}

currentWayPointTransform is the transform attached to the tile.
Now I get this error

MissingComponentException: There is no 'GUITexture' attached to the "currentWayPoint" game object, but a script is trying to access it.
You probably need to add a GUITexture to the game object "currentWayPoint". Or your script needs to check if the component is attached before using it.

I don’t understand this error, the transform has a texture on it, or atleast a SpriteRenderer.

I think, instead of this

this.currentWayPointTransform.guiTexture.enabled = true;

you want to do this

this.currentWayPointTransform.renderer.enabled = true;

Try

this.currentWayPointTransform.renderer.enabled = true;