Example #1
0
 private void Awake()
 {
     mInstance = this;
     ReadConfigByTxt();
     CreateGoodLibrary();    //初始化物品库
     DontDestroyOnLoad(gameObject);
 }
Example #2
0
 private void Awake()
 {
     Instance = this;
 }