Merge branch 'master' of https://gitee.com/zzzisfunnyboy/obsidian-notes
# Conflicts: # 1Project/构建新框架/管道模式/未命名.canvas
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
|
||||
|
||||
### 调试和测试的便捷性问题
|
||||
- 大部分场景美术的跑测需求是无需任何game play元素
|
||||
- A角色的B技能MotionBlur存在异常,他需要在真实的游戏场景中观察某个角色释放某个技能观察MotionBlur是否符合预期
|
||||
- 负责3C的QA希望单次测试只加载3C相关的游戏子系统,任何与之无关的子系统都是关闭状态以提高游戏加载和运行速度,以提高测试效率
|
||||
|
||||
### 在宠物宇宙中的例子F9
|
||||
- 数据端插入了测试模式的变量以及模拟了一批玩家数据
|
||||
- 下个环节根据测试模式的变量和这些玩家数据进行
|
||||
|
||||
|
||||
### 思考,如何抽象出来
|
||||
- 流程[[管道模式]]
|
||||
- 每个流程都能热插拔
|
||||
- 当获取流程所需要的数据为空的时候,在else方法中应该从IOC里面获取测试的对象
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"nodes":[
|
||||
{"id":"898b07480fb30b91","type":"text","text":"Command","x":-261,"y":109,"width":250,"height":60},
|
||||
{"id":"06ced7be675e7a13","type":"text","text":"Command","x":-511,"y":109,"width":250,"height":60},
|
||||
{"id":"c715d34403b3a981","type":"text","text":"Command","x":-11,"y":109,"width":250,"height":60},
|
||||
{"id":"aef08d5965087231","type":"text","text":"Command","x":239,"y":109,"width":250,"height":60},
|
||||
{"id":"d41c0ab7a71ab3c3","type":"text","text":"Context","x":-511,"y":-100,"width":1081,"height":60}
|
||||
],
|
||||
"edges":[]
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
---
|
||||
tags:
|
||||
- 设计模式
|
||||
---
|
||||
|
||||
|
||||
``` csharp
|
||||
public class Seq<T>{
|
||||
public Command<T>[] cmds;
|
||||
public T Context;
|
||||
}
|
||||
```
|
||||
|
||||
``` csharp
|
||||
public class Command<T>{
|
||||
public void Excute(T context){}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user