void Awake() { if (ss == null) { ss = this; } else if (ss != this) { Destroy(gameObject); } }
public void Awake() { instancia = this; }
void OnDestroy() { ss = null; }