void Awake() { //datos al iniciar DataJuego.dataJuego.Cargar(); if (ss == null) { ss = this; } else if (ss != this) { Destroy(gameObject); } }
void OnDestroy() { ss = null; }