void Start () { InvokeRepeating("contar", 0.0f, 1.0f); cia = GetComponent<ControladorInmuAdquirida>(); gameOver = false; //defensas = 4; if (cc != null) { c = cc; c.alpha = 0; } if (cc1 != null) { c1 = cc1; } if (mensajes != null) mensajesPantalla = mensajes; if (alertas != null) { mensajesalertas = alertas; mostrarAlerta= alertas.GetComponent<CanvasGroup>(); } nutrientes =600; oxigeno = 600; }
// Use this for initialization void Start () { innata=GameObject.Find("Canvas").GetComponent<ControladorInmuAdquirida>(); activarLinfocitos = false; InvokeRepeating ("crearEritrocito", 0, 0.3f); InvokeRepeating ("crearNeutrofilo", 3f, 1.2f); InvokeRepeating ("crearMacrofago", 2f, 1.5f); InvokeRepeating ("crearKiller", 1f, 1.8f); }
void Awake(){ activarAdquirida=GameObject.Find("Canvas").GetComponent<ControladorInmuAdquirida>(); Mutaciones=new Image[]{ Mutacion0, Mutacion1, Mutacion2, Mutacion3}; }