开言体验营 - Day1
预习 pull up v. 拿出来 QR code n.二维码 Scanning v. 扫描 Professionals n. 专业人士 keeping up v. 跟上,追踪 public accounts n. 公众号 networking n. 建立人脉 Dialog A: It was great meeting you. B: Likewise. Let’s keep in touch. Could I have you wechat? A: Sure. Just a sec, let me pull up my QR code. Here you go. B: Great. Opps, that didn’t work, let me try scanning you again, here we go. A: Wonderful. I just accepted your contact request. B: Great! Now we are connected. I’m in a great Wechat Group for ...
开言体验营 - Day2
预习 Espresso Americano Latte Cappuccino Mocha Macchiato e.g. I’d like to order a latte. Dialog Dialog study
开言体验营 - Day4
预习 Chinese zodiac 生肖 literal translation tons beer e.g. I had tons of beer last night. wacky -> weird silly Dialog Dialog study
开言体验营 - Day5
预习 1.put you up 提供住宿,容忍 Bosses have a lot to put up with like you for instance! All women search for beauty. Maybe you will feel better after you put on make-up. layover 转机 Dialog Dialog study
开言_Happy Hour Drinks with Coworks
预习 six-pack all-time brand-new just bought… very very new ex-wife wife buy one, get one Dialog Dialog study
开言学习笔记1
Housewarming Party 乔迁派对 Dialog A: Hey guys, glad you could make it! Come on in! B: Thanks for inviting us! Wow, I love your new place, it’s gorgeus! A: Thanks. I moved in last week. I’m still setting up the living room. B: I love the layout. The view is great too! A: Thanks. I was lucky to find this place. Come on, I’ll show you around. B: Oh, here, before I forget, I brought you a housewarming gift. A: Wine! Thank you. You shouldn’t have. B: Oh, it’s my pleasure. Should I put it on the tabl...
开言
预习 do you have a miniute been meaning to I’ve been meaning to go to the store to by milk. //Haven’t dont it yet but you’re doing it. MacDonald - fastfood chains. Dialog Dialog study
LUA与CSHARP交互
相互调用 原理: C#与Lua进行交互主要通过虚拟栈实现 C# Call Lua: 内存: 由C#先将数据放入栈中,由lua去栈中获取数据,然后返回数据对应的值到栈顶,再由栈顶返回至C#。 代码: C#生成Bridge文件,Bridge调dll文件(dll是用C写的库),先调用lua中dll文件,由dll文件执行lua代码 C#->Bridge->dll->Lua OR C#->dll->Lua Lua Call C#: 内存: 先生成C#源文件所对应的Wrap文件或者编写C#源文件所对应的c模块,然后将源文件内容通过Wrap文件或者C模块注册到Lua解释器中,然后由Lua去调用这个模块的函数。 代码:先生成Wrap文件(中间文件/适配文件),wrap文件把字段方法,注册到lua虚拟机中(解释器luajit),然后lua通过wrap就可以调C#了 或者在config文件中添加相应类型也可以 unity下的lua框架 为了使基于unity开发的应用在移动平台能够热更新,我们嵌入了Lua虚拟机,将需要热更新的逻辑用lua实现。c#通过P/...
LWRP官方说明
Render Pipeline 的build-in 的流程 Command Buffer说明 语法说明 原先shader使用的cginc引入,改成Include官方的hlsl文件 材质变量需要CBuffer块套好,这样才能使用LWRP的batcher 可使用LWRP独有的宏声明采样器 属性名的变更:使用Attribute替代input, 使用Varying替代v2f 获取顶点信息的函数变更 SRP Batcher
力扣刷题记录
[toc] 1. 两数之和 Two Sum 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/two-sum 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0] + nums[1] = 2 + 7 = 9 所以返回 [0, 1] vector<int> twoSum(vector<int>& nums, int target) { vector<int> result; map<int, int> numsMap; for (int i = 0; i < nums.siz...





