Black Screen ?

Hi
I made a fade with animator using canvas->Image.

my black image should appear at front, hide all things but it doesn’t ? the script run fine but there is error pop-up from no where. here is m code:

using UnityEngine;
using System.Collections;

public class fade : MonoBehaviour {

    public Animator anim;
    public int vd = 3;
    public float timers;

    void Start () {

        anim.enabled = false;

    }
  
    void Update () {
  
        timers = timers + Time.deltaTime;
        if(vd<=timers)
        {
            anim.enabled = true;
        }

    }
}

no, no it didn’t… the error means the script didn’t run, and if you read the error it quite clearly tells you the most likely action that needs to be done to resolve the error.

OK. may be just a bug. because i did the same thing with other scene and work without one error !!
this is not a problem, i can deal with this later. What i need is how to full the screen with the black image. I want to hide all canvass except the fade one.