摘要: 效果图 阅读全文
posted @ 2019-08-20 10:41 小木槌 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1 //人物移动的一些基础属性 2 private float speed = 5; 3 private float h, v; 4 private Rigidbody rig; 5 private Camera cam; 6 private Animator anm; 7 private bool isMove=false; 8... 阅读全文
posted @ 2018-12-21 12:02 小木槌 阅读(604) 评论(0) 推荐(0) 编辑
摘要: using System; using System.IO; using System.Text ; using System.Collections.Generic ; using System.Threading.Tasks; using System.Linq; namespace shanchuzhushi { class MainClass { //边读边写方法. stat... 阅读全文
posted @ 2018-11-20 14:15 小木槌 阅读(585) 评论(0) 推荐(0) 编辑
摘要: public static int lagelangri( int [] sz,int num )//拉格朗日排序法. { int tou =0; int wei=sz.Length-1; int zhong =0; while (tou <=wei) { zhong = tou + (wei - 阅读全文
posted @ 2018-11-05 10:48 小木槌 阅读(207) 评论(1) 推荐(1) 编辑
摘要: public void nizhi()//链表的逆置 { Node T1,T2=head;//head是定义的头结点. T2=head.Next; head.Next=null; while(T2!=null) { T1=T2.Next; T2.Next=head.Next; head.Next=T 阅读全文
posted @ 2018-11-05 10:21 小木槌 阅读(263) 评论(0) 推荐(0) 编辑