摘要: 我是手游项目的项目经理,用各种各样的套路从玩家那里圈钱,而我自己的父亲却被同样的套路耍的团团转,这听起来就像是在坑爹。 阅读全文
posted @ 2016-08-26 09:25 吴筱军 阅读(755) 评论(0) 推荐(1) 编辑
摘要: local function GetStringWordNum(str) local fontSize = 20 local lenInByte = #str local count = 0 local i = 1 while true do local curByte = string.byte(str, i) if i ... 阅读全文
posted @ 2016-08-19 16:03 吴筱军 阅读(3315) 评论(0) 推荐(0) 编辑
摘要: Lua与C/C++交互 阅读全文
posted @ 2016-08-09 18:15 吴筱军 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 1. loop [luːp] n. 环;圈;弯曲部分;翻筋斗 vt. 使成环;以环连结;使翻筋斗 vi. 打环;翻筋斗 2. gain [geɪn] n. 增加;利润;收获 vt. 获得;增加;赚到 vi. 增加;获利 n. (Gain)人名;(英、匈、法)盖恩 3. portrait ['pɔːt 阅读全文
posted @ 2016-08-03 14:49 吴筱军 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 创建文件: os.execute('mkdir e:\\aa') 创建文件夹: os.execute("cd.>e:\\wang.ini") 阅读全文
posted @ 2016-07-24 14:08 吴筱军 阅读(2972) 评论(0) 推荐(0) 编辑
摘要: lfs.attributes(filepath [, aname]) 获取路径指定属性 lfs.chdir(path) 改变当前工作目录,成功返回true,失败返回nil加上错误信息 lfs.currentdir 获取当前工作目录,成功返回路径,失败为nil加上错误信息 lfs.dir(path) 阅读全文
posted @ 2016-07-24 12:08 吴筱军 阅读(853) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class test : MonoBehaviour { //print只能在MonoBehavior的子类中使用,否则只能使用Debug.log() public int age; public string name; //每当脚本被加载时调用;“有添加... 阅读全文
posted @ 2016-07-19 22:32 吴筱军 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class test1 : MonoBehaviour { public float angleSpeed; void Update () { if(Input.GetKeyDown(KeyCode.UpArrow)) { ... 阅读全文
posted @ 2016-07-19 22:21 吴筱军 阅读(209) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class test : MonoBehaviour { void Start () { Vector3 v = new Vector3(); float x = v.x; float y = v.y; float z ... 阅读全文
posted @ 2016-07-19 22:13 吴筱军 阅读(2475) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class transform : MonoBehaviour { // Use this for initialization void Start () { //获取当前脚本所挂载的游戏对象身上的Transform //控制游戏对象的位置... 阅读全文
posted @ 2016-07-19 21:58 吴筱军 阅读(282) 评论(0) 推荐(0) 编辑