//Tratamiento del singleton de PartidoManager void Awake() { if (manager == null) { manager = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(this); } }
public PartidosController() { PartidosManager = new PartidoManager(); }
//Tratamiento del singleton de PartidoManager void Awake() { if (manager == null) { manager = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(this); } }
public PartidosController() { PartidosManager = new PartidoManager(); }