摘要: 恢复内容开始 using UnityEngine; using System.Collections; public class Script1 : MonoBehaviour { public float movespeed; private Vector3 PresentPosition; pr 阅读全文
posted @ 2016-10-28 20:00 无畏先锋 阅读(149) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class Script1 : MonoBehaviour { public float movespeed; private Vector3 PresentPosition; private V 阅读全文
posted @ 2016-10-28 19:58 无畏先锋 阅读(257) 评论(0) 推荐(0) 编辑
摘要: lua文件如下: print("ddhdhh")function login(username,pswd)if username =="ms" and pswd=="ms" thenprint('用户存在')return true;elseprint('用户不存在')return falseende 阅读全文
posted @ 2016-10-28 19:55 无畏先锋 阅读(787) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using LuaInterface;//引入lua接口public class MyHellowWorld : MonoBehaviour { //创建lua对象 LuaState lua; //string s 阅读全文
posted @ 2016-10-28 19:30 无畏先锋 阅读(2749) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class MicPhoneScripts : MonoBehaviour{ private AudioSource audioSource; AudioClip clip; void Awake() 阅读全文
posted @ 2016-10-28 09:45 无畏先锋 阅读(1918) 评论(0) 推荐(0) 编辑