float Seconds;
// Use this for initialization
void Start () {
Seconds = 0f;
}
// Update is called once per frame
void Update () {
Seconds += Time.deltaTime;
if (Seconds == 3.000000) {
Debug.Log("It Works!");
}
}
Because you are checking for EXACT 3 Seconds by using this line if(Seconds == 3.00000) … this line should be if(Seconds >= 3f) … Pls mark this as Answer if it helped