title: can't make image gameObject invisible with (CanvasRenderer.cull) function
body: <p>so with following code I am trying to make two images visibility gone. But the images that are added on canvas wont change visibility.</p>
  
  <p>Here's simple code:</p>
  
  <pre><code>public GameObject g;
  public GameObject ga;
  
  // Use this for initialization
  void Start () {
  
      g.GetComponent&lt;CanvasRenderer&gt;().cull = false;
  
      ga.GetComponent&lt;CanvasRenderer&gt;().cull = false;
  
  
  }
  </code></pre>
  
  <p>here g and ga is assigned from the editor. and the script is executing as its also attached to a gameobject.</p>
  
  <p>And this is the before and after screenshot as the scene stays same:
  <a href="https://i.stack.imgur.com/bimUU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bimUU.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/9xo2x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9xo2x.png" alt="enter image description here"></a>
  update - I don't wanna make it inactive.
  a bit more information - I want to place some UI elements behind those images so I want to make the images be invisible and also if possible keep the canvas object active. Thanks.</p>