static BundleServer() { if (_instance == null) { _instance = new BundleServer(); } }
void OnEnable() { _bundleServer = BundleServer.Instance; _bundleServer.CurrItemCountUpdated += CurrItemCountUpdated; _bundleServer.TotalCountUpdate += ItemCountUpdated; BuildSettings.UpdateFromSettings(); }