private void Start() { aviao = FindObjectOfType <Aviao>(); controlaDificuldade = FindObjectOfType <ControlaDificuldade>(); geradorDeObstaculos = FindObjectOfType <GeradorDeObstaculos>(); gameOverInterface = FindObjectOfType <UIGameOver>(); gameInterface = FindObjectOfType <UIGameInterface>(); }
private void Start() { uiGameInterface = FindObjectOfType <UIGameInterface>(); }