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;
}
}
}