家
This commit is contained in:
15
2Areas/游戏开发/Dispose的一些用法.md
Normal file
15
2Areas/游戏开发/Dispose的一些用法.md
Normal file
@@ -0,0 +1,15 @@
|
||||
``` CSharp
|
||||
//等待胜利动画结束的时候dispose
|
||||
// 键盘的可以重新操作
|
||||
// 时间冻结功能
|
||||
async Task DoVectorySequence(){
|
||||
using(new DisposableLockKeyboardInput())
|
||||
using(new DisposableLockUIInput())
|
||||
using(new DisposableFreezeTime()){
|
||||
ShakeScreen();
|
||||
PlayVictorySound();
|
||||
await PlayVictoryAniation();
|
||||
}
|
||||
}
|
||||
```
|
||||
符合Leo顺序规范
|
||||
1
2Areas/游戏开发/pcei速度预估.md
Normal file
1
2Areas/游戏开发/pcei速度预估.md
Normal file
@@ -0,0 +1 @@
|
||||
- 1亿个32位整型数是381MB,PCIE4的理论带宽是32GB每秒约32MB每毫秒。这样计算光单向拷贝就要10毫秒以上了
|
||||
Reference in New Issue
Block a user