摘要: public class Show : MonoBehaviour { private bool isDesc = true; private string strTitle = "ID\t\t\t\tName\t\t\t\tScore\t\t\t\tClass\r\n"; private string strResult = ""; private string name = "Jim"; void OnGUI() { name = GUI.TextField(new Rect(50, 20, 200, 20), name); .. 阅读全文
posted @ 2013-08-25 01:52 xiangsoft 阅读(675) 评论(0) 推荐(0) 编辑
摘要: Modelpublic class TB_Score{ public int Id; public string Name; public int Score; public int Class;}DALpublic class TB_ScoreDAL{ public TB_Score Get(string name) { DataTable dt = SqlHelper.ExecuteDataTable("SELECT * FROM TB_Score WHERE Name LIKE @name", new SqlParameter("@n... 阅读全文
posted @ 2013-08-25 01:48 xiangsoft 阅读(172) 评论(0) 推荐(0) 编辑
摘要: public class FreeMove : MonoBehaviour { private static List listPos = new List(); private bool isMove = false; private static int n = 0; private float lookatTime = 4; private float movetoTime = 10; void Update() { //mouse click if (Input.GetMouseButtonDown(0)) ... 阅读全文
posted @ 2013-08-25 00:23 xiangsoft 阅读(336) 评论(0) 推荐(0) 编辑