예제 #1
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }
예제 #2
0
 void Start()
 {
     bm = BangManager.instance;
     ui = UIManager.instance;
 }
예제 #3
0
 private void Start()
 {
     bgMan = BangManager.instance;
 }