Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     Instance = this;
 }
Exemplo n.º 2
0
 void Awake()
 {
     instance = this;
     DontDestroyOnLoad(this.gameObject);
 }
 void Awake()
 {
     instance = this;
 }