Exemple #1
0
    //DB


    void Awake()
    {
        if (sesion == null)
        {
            sesion = this;
            DontDestroyOnLoad(this);
        }
        else if (sesion != this)
        {
            Destroy(gameObject);
        }
    }