![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Unity
赛涛科技
很不会写东西
展开
-
Unity网络通信之登录注册与多人聊天
服务器端:项目一:Program类: class Program { static void Main(string[] args) { ServerTest.getInstance().Listen(); Console.ReadKey(); } }Server类:using System;usi...翻译 2018-05-31 08:17:11 · 1229 阅读 · 0 评论 -
lua的:和.的区别(语法糖)
Account = {balance = 1000} -- 账户余额初始为1000。 ----【定义函数】 --[[ 取钱。 使用面向对象的方式隐藏了"self"参数, "withdraw()"完整的参数列表是"Account.withdraw(self, v)"。]] function Account:withdraw(v) self.balance = sel...转载 2018-09-01 10:37:31 · 4295 阅读 · 0 评论