日拱一卒,功不|

畅知

园龄:1年5个月粉丝:70关注:22

合集-Unity学习笔记

热更学习笔记10~11----lua调用C#中的List和Dictionary、拓展类中的方法
摘要:[10]Lua脚本调用C#中的List和Dictionary 调用还是在上文中使用的C#脚本中Student类: lua脚本: print(" 访问使用C#脚本中的List和Dictionary ") student.list:Add(2024) student.list:Add(5) studen
142
0
1
Lua中调用ref和out修饰参数的函数/重载函数
摘要:[12] lua中调用ref 和 out 修饰参数的函数数值 public int RefCompute(int a, ref int b, ref int c, int d) { b += a; c += d; return b + c; } public int OutCompute(int a
56
0
0
Unity 编辑器中获取选中的文件夹、文件路径
摘要:编辑器中获取选中的文件夹、文件路径 using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; public class MyEditorScript { [MenuItem("Assets/PrintSelect
519
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起