Ejemplo n.º 1
0
 void Awake()
 {
     instance = this;
 }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     DestroyFragments();
     instance = null;
 }
Ejemplo n.º 3
0
 private void OnDestroy()
 {
     DestroyFragments();
     instance = null;
 }
Ejemplo n.º 4
0
 void Awake()
 {
     instance = this;
 }
Ejemplo n.º 5
0
 void Awake()
 {
     DontDestroyOnLoad(gameObject);
     instance = this;
 }
Ejemplo n.º 6
0
 private void OnDestroy()
 {
     this.DestroyFragments();
     FragmentPool.instance = (FragmentPool)null;
 }
Ejemplo n.º 7
0
 private void Awake()
 {
     Object.DontDestroyOnLoad((Object)((Component)this).get_gameObject());
     FragmentPool.instance = this;
 }