void Awake ()
	{
		instance = this;
		DontDestroyOnLoad(gameObject);
	}
Пример #2
0
 void Awake()
 {
     instance = this;
     DontDestroyOnLoad(gameObject);
 }