摘要: 1 public void InvokeRepating(string methodName,float time,float repeatRate);语法注:1、methodeName为调用的方法名,只写方法名,若方法带有参数一样只写方法名;2、time等待几秒后执行方法;3、repreatRat... 阅读全文
posted @ 2015-12-19 09:57 葉蕓榕 阅读(3457) 评论(0) 推荐(0) 编辑
摘要: WaitForSeconds.WaitForseconds等待函数; 创建一个yield指令,来等待给定的秒数; 1 using UnityEngine; 2 using System.Collections; 3 4 public class example:MonoBehaviour 5... 阅读全文
posted @ 2015-12-18 20:58 葉蕓榕 阅读(678) 评论(0) 推荐(0) 编辑
摘要: WebClient类提供向 URI 标识的任何本地、Intranet 或 Internet 资源发送数据以及从这些资源接收数据的公共方法。WebClient类使用 WebRequest 类提供对资源的访问。其命名空间来自System.Net程序集Sysytem(在Sysytem.dll中)1 [Co... 阅读全文
posted @ 2015-12-18 14:47 葉蕓榕 阅读(247) 评论(0) 推荐(0) 编辑