private void Awake()
 {
     if (instance == null)
     {
         instance = this;
         DontDestroyOnLoad(gameObject);
     }
     else
     {
         Destroy(gameObject);
     }
 }
Beispiel #2
0
    //**** REVISEI ATÉ AQUI ***//

    void getAtlas(AtlasController atlas)
    {
        return;         //TODO
    }