using UnityEngine;
using System.Collections;
public class lvl1_controller : MonoBehaviour {
public int collision_1 = 0;
// Use this for initialization
void awake () {
Debug.Log("awake");
}
void start () {
Debug.Log("Start");
}
IEnumerator start2 (){
yield return new WaitForSeconds(3);
Debug.Log("3 Secs pass");
}
// Update is called once per frame
void Update () {
// this works ~~ Debug.Log("updating");
}
}
The update function works. And no even if I remove the IEnumator it still doesn’t works.
There is no compiling error, but it just doesn't work, the functions are not called.
– yusolaifdfer