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