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