Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
guo450212436
et
提交
d904f249
E
et
项目概览
guo450212436
/
et
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
et
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d904f249
编写于
3月 24, 2018
作者:
T
tanghai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
destroy拼写错误
上级
59a2b10a
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
14 addition
and
14 deletion
+14
-14
Server/Hotfix/Module/Actor/ActorComponentSystem.cs
Server/Hotfix/Module/Actor/ActorComponentSystem.cs
+1
-1
Unity/Assets/Scripts/Base/Object/Component.cs
Unity/Assets/Scripts/Base/Object/Component.cs
+2
-2
Unity/Assets/Scripts/Base/Object/EventSystem.cs
Unity/Assets/Scripts/Base/Object/EventSystem.cs
+4
-4
Unity/Assets/Scripts/Module/AssetsBundle/ResourcesComponent.cs
.../Assets/Scripts/Module/AssetsBundle/ResourcesComponent.cs
+1
-1
Unity/Hotfix/Base/Object/Component.cs
Unity/Hotfix/Base/Object/Component.cs
+2
-2
Unity/Hotfix/Base/Object/EventSystem.cs
Unity/Hotfix/Base/Object/EventSystem.cs
+4
-4
未找到文件。
Server/Hotfix/Module/Actor/ActorComponentSystem.cs
浏览文件 @
d904f249
...
...
@@ -41,7 +41,7 @@ namespace ETHotfix
}
[
ObjectSystem
]
public
class
ActorComponentDes
d
roySystem
:
DestroySystem
<
ActorComponent
>
public
class
ActorComponentDes
t
roySystem
:
DestroySystem
<
ActorComponent
>
{
public
override
void
Destroy
(
ActorComponent
self
)
{
...
...
Unity/Assets/Scripts/Base/Object/Component.cs
浏览文件 @
d904f249
...
...
@@ -79,8 +79,8 @@ namespace ETModel
Game
.
ObjectPool
.
Recycle
(
this
);
}
// 触发Des
d
roy事件
Game
.
EventSystem
.
Des
d
roy
(
this
);
// 触发Des
t
roy事件
Game
.
EventSystem
.
Des
t
roy
(
this
);
}
}
}
\ No newline at end of file
Unity/Assets/Scripts/Base/Object/EventSystem.cs
浏览文件 @
d904f249
...
...
@@ -24,7 +24,7 @@ namespace ETModel
private
readonly
UnOrderMultiMap
<
Type
,
IStartSystem
>
startEvents
=
new
UnOrderMultiMap
<
Type
,
IStartSystem
>();
private
readonly
UnOrderMultiMap
<
Type
,
IDestroySystem
>
des
d
royEvents
=
new
UnOrderMultiMap
<
Type
,
IDestroySystem
>();
private
readonly
UnOrderMultiMap
<
Type
,
IDestroySystem
>
des
t
royEvents
=
new
UnOrderMultiMap
<
Type
,
IDestroySystem
>();
private
readonly
UnOrderMultiMap
<
Type
,
ILoadSystem
>
loadEvents
=
new
UnOrderMultiMap
<
Type
,
ILoadSystem
>();
...
...
@@ -92,7 +92,7 @@ namespace ETModel
IDestroySystem
destroySystem
=
obj
as
IDestroySystem
;
if
(
destroySystem
!=
null
)
{
this
.
des
d
royEvents
.
Add
(
destroySystem
.
Type
(),
destroySystem
);
this
.
des
t
royEvents
.
Add
(
destroySystem
.
Type
(),
destroySystem
);
}
ILoadSystem
loadSystem
=
obj
as
ILoadSystem
;
...
...
@@ -379,9 +379,9 @@ namespace ETModel
}
}
public
void
Des
d
roy
(
Component
component
)
public
void
Des
t
roy
(
Component
component
)
{
List
<
IDestroySystem
>
iDestroySystems
=
this
.
des
d
royEvents
[
component
.
GetType
()];
List
<
IDestroySystem
>
iDestroySystems
=
this
.
des
t
royEvents
[
component
.
GetType
()];
if
(
iDestroySystems
==
null
)
{
return
;
...
...
Unity/Assets/Scripts/Module/AssetsBundle/ResourcesComponent.cs
浏览文件 @
d904f249
...
...
@@ -48,7 +48,7 @@ namespace ETModel
base
.
Dispose
();
//Log.Debug($"des
d
roy assetbundle: {this.Name}");
//Log.Debug($"des
t
roy assetbundle: {this.Name}");
this
.
AssetBundle
?.
Unload
(
true
);
}
...
...
Unity/Hotfix/Base/Object/Component.cs
浏览文件 @
d904f249
...
...
@@ -79,8 +79,8 @@ namespace ETHotfix
Game
.
ObjectPool
.
Recycle
(
this
);
}
// 触发Des
d
roy事件
Game
.
EventSystem
.
Des
d
roy
(
this
);
// 触发Des
t
roy事件
Game
.
EventSystem
.
Des
t
roy
(
this
);
}
}
}
\ No newline at end of file
Unity/Hotfix/Base/Object/EventSystem.cs
浏览文件 @
d904f249
...
...
@@ -14,7 +14,7 @@ namespace ETHotfix
private
readonly
UnOrderMultiMap
<
Type
,
IStartSystem
>
startEvents
=
new
UnOrderMultiMap
<
Type
,
IStartSystem
>();
private
readonly
UnOrderMultiMap
<
Type
,
IDestroySystem
>
des
d
royEvents
=
new
UnOrderMultiMap
<
Type
,
IDestroySystem
>();
private
readonly
UnOrderMultiMap
<
Type
,
IDestroySystem
>
des
t
royEvents
=
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
.
des
d
royEvents
.
Add
(
destroySystem
.
Type
(),
destroySystem
);
this
.
des
t
royEvents
.
Add
(
destroySystem
.
Type
(),
destroySystem
);
}
ILoadSystem
loadSystem
=
obj
as
ILoadSystem
;
...
...
@@ -367,9 +367,9 @@ namespace ETHotfix
}
}
public
void
Des
d
roy
(
Component
component
)
public
void
Des
t
roy
(
Component
component
)
{
List
<
IDestroySystem
>
iDestroySystems
=
this
.
des
d
royEvents
[
component
.
GetType
()];
List
<
IDestroySystem
>
iDestroySystems
=
this
.
des
t
royEvents
[
component
.
GetType
()];
if
(
iDestroySystems
==
null
)
{
return
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录