摘要: DSPlayerCtrl.cs using System.Collections; using System.Collections.Generic; using DSFramework; using UnityEngine; public class DSPlayerCtrl : DSMonoBe 阅读全文
posted @ 2020-12-29 14:01 UnitySir 阅读(185) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MongoDB.Bson; using MongoDB.Driver; namespace D 阅读全文
posted @ 2020-12-25 21:47 UnitySir 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 视频: 项目地址: unitysir/6DOF-robot-arm-IK: I built the Unity3d project with meuse.co.jp code. (github.com) Final IK 单臂机器人逆运动学解析方法 逆运动学解析正文: 解释机器人手臂逆运动学的解析方 阅读全文
posted @ 2020-12-22 19:10 UnitySir 阅读(1478) 评论(0) 推荐(1) 编辑
摘要: origin 默认仓库名称 master 默认主分支名称 如果需要推送其他分支,更改默认分支为 自己创建的分支即可 更新远处代码到本地仓库 git fetch origin master [将远程origin仓库的master分支代码下载到本地master分支] git merge origin/m 阅读全文
posted @ 2020-10-30 17:50 UnitySir 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Lua代码 print("*********泛型类的替换***********") --泛型类 T是可以变化 那lua中应该如何替换呢? --lua中的替换 要一个类型一个类型的来 xlua.hotfix(CS.HotfixTest2(CS.System.String), { Test = func 阅读全文
posted @ 2020-10-29 16:59 UnitySir 阅读(389) 评论(0) 推荐(0) 编辑
摘要: Lua代码 print("*********事件加减替换***********") xlua.hotfix(CS.HotfixMain, { --add_事件名 代表着时间加操作 --remove_事件名 减操作 add_myEvent = function(self, del) print(del 阅读全文
posted @ 2020-10-29 16:57 UnitySir 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Lua代码 print("*********属性和索引器替换***********") xlua.hotfix(CS.HotfixMain, { --如果是属性进行热补丁重定向 --set_属性名 是设置属性 的方法 --get_属性名 是得到属性 的方法 set_Age = function(se 阅读全文
posted @ 2020-10-29 16:55 UnitySir 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Lua代码 print("*********协程函数替换***********") --xlua.hotfix(类, {函数名 = 函数, 函数名 = 函数....}) --要在lua中配合C#协程函数 那么必使用它 util = require("xlua.util") xlua.hotfix(C 阅读全文
posted @ 2020-10-29 16:53 UnitySir 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Lua代码 print("*********多函数替换***********") --lua当中 热补丁代码固定写法 --xlua.hotfix(类, "函数名", lua函数) --xlua.hotfix(类, {函数名 = 函数, 函数名 = 函数....}) xlua.hotfix(CS.Ho 阅读全文
posted @ 2020-10-29 16:47 UnitySir 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Lua代码 print("*********第一个热补丁***********") --直接写好代码 运行 是会报错的 --我们必须做4个非常重要的操作 --1.加特性 --2.加宏 第一次开发热补丁需要加 --3.生成代码 --4.hotfix 注入 --注入时可能报错 提示你要引入Tools - 阅读全文
posted @ 2020-10-29 16:19 UnitySir 阅读(334) 评论(0) 推荐(0) 编辑