This version of Unity is unsupported.
Removed in version 2018.4.36

Component.renderer

Obsolete Property renderer has been deprecated. Use GetComponent<Renderer>() instead. (UnityUpgradable). public Component renderer;

Description

The Renderer attached to this GameObject. (Null if there is none attached).