06 2014 档案
摘要:IEnumerator Start () { yield return new WaitForSeconds(2); this.GoBall(); Debug.Log("Begin to go ball"); }必须是IEnumerator 返...
阅读全文
posted @ 2014-06-19 11:01
penney
摘要:http://msdn.microsoft.com/en-us/library/ms744790(v=vs.110).aspx Focus Here Focus Here
阅读全文
posted @ 2014-06-16 21:21
penney
摘要:In our above example, we callVector3.Lerp()like this:transform.position=Vector3.Lerp(_startPosition,_endPosition,percentageComplete); // 可以是时间的分数,也可以是...
阅读全文
posted @ 2014-06-16 17:12
penney
摘要:1、使用ref型参数时,传入的参数必须先被初始化。对out而言,必须在方法中对其完成初始化。2、使用ref和out时,在方法的参数和执行方法时,都要加Ref或Out关键字。以满足匹配。3、out适合用在需要retrun多个返回值的地方,而ref则用在需要被调用的方法修改调用者的引用的时候。注:在C#...
阅读全文
posted @ 2014-06-13 14:35
penney
摘要:http://weblog.west-wind.com/posts/2007/May/23/WPF-How-hard-could-it-be-to-get-a-SelectedItemTemplate ...
阅读全文
posted @ 2014-06-10 20:43
penney

浙公网安备 33010602011771号