|
|
@@ -14,7 +14,7 @@ namespace ETHotfix
|
|
|
|
|
|
private readonly UnOrderMultiMap<Type, IStartSystem> startEvents = new UnOrderMultiMap<Type, IStartSystem>();
|
|
|
|
|
|
- private readonly UnOrderMultiMap<Type, IDestroySystem> desdroyEvents = new UnOrderMultiMap<Type, IDestroySystem>();
|
|
|
+ private readonly UnOrderMultiMap<Type, IDestroySystem> destroyEvents = new UnOrderMultiMap<Type, IDestroySystem>();
|
|
|
|
|
|
private readonly UnOrderMultiMap<Type, ILoadSystem> loadEvents = new UnOrderMultiMap<Type, ILoadSystem>();
|
|
|
|
|
|
@@ -74,7 +74,7 @@ namespace ETHotfix
|
|
|
IDestroySystem destroySystem = obj as IDestroySystem;
|
|
|
if (destroySystem != null)
|
|
|
{
|
|
|
- this.desdroyEvents.Add(destroySystem.Type(), destroySystem);
|
|
|
+ this.destroyEvents.Add(destroySystem.Type(), destroySystem);
|
|
|
}
|
|
|
|
|
|
ILoadSystem loadSystem = obj as ILoadSystem;
|
|
|
@@ -367,9 +367,9 @@ namespace ETHotfix
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public void Desdroy(Component component)
|
|
|
+ public void Destroy(Component component)
|
|
|
{
|
|
|
- List<IDestroySystem> iDestroySystems = this.desdroyEvents[component.GetType()];
|
|
|
+ List<IDestroySystem> iDestroySystems = this.destroyEvents[component.GetType()];
|
|
|
if (iDestroySystems == null)
|
|
|
{
|
|
|
return;
|