Цитата игнат (
)
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void OnTriggerEnter(Collider other) {
StartCoroutine( IEnumerator_Start() );
}
public IEnumerator_Start(){
//////////////////////////////////////////////////////////////////
yield WaitForSeconds = 5; // хотя всегда писалось так: yield WaitForSeconds(2);
Application.LoadLevel(1);
//////////////////////////////////////////////////////////////////
}
}
Подчеркивает
И пишет это:
LoadLevel.cs(9,16): error CS1520: Class, struct, or interface method must have a return type