private Dictionary <string, MethodInfo> _commandInvokeMethodInfos = new Dictionary <string, MethodInfo>();//uFrame_kbe public void OnDestroy() { _container = null; IsKernelLoaded = false; Services.Clear(); SystemLoaders.Clear(); EventAggregator = null; Instance = null; }
public void ResetKernel() { DestroyImmediate(Instance.gameObject); _container = null; IsKernelLoaded = false; Services.Clear(); SystemLoaders.Clear(); EventAggregator = null; Instance = null; }