在开始菜单的搜索栏中输入“regedit”打开注册表,展开HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control分支,点击右键选择新建“项”,名称是update,在update项下新建一个名称为updatemode的DWORD类型字符串,数值0.修改项...
using UnityEngine;using UnityEditor;using
System.Collections; public class AddParent : ScriptableObject{ [MenuItem
("GameObject/+Add Parent")] s...
分类:
其他好文 时间:
2014-06-07 00:36:56
阅读次数:
202
using UnityEngine;using UnityEngine;using
UnityEditor;using System.Collections; public class AddChild : ScriptableObject{
[MenuItem ("GameObject/...
分类:
其他好文 时间:
2014-06-07 00:16:30
阅读次数:
247
一:使用DateAdd方法向指定日期添加一段时间间隔,截图二:代码using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Data;using System.Drawing;usin...
分类:
其他好文 时间:
2014-06-07 00:13:56
阅读次数:
292
Windows Form application version:private void
Form1_Load(object sender, EventArgs e) { this.BackColor = Color.Red;
System.Drawing.Drawing2D.GraphicsPa...
分类:
其他好文 时间:
2014-06-06 22:46:00
阅读次数:
208
using UnityEngine;using System.Collections;public
class example : MonoBehaviour {public void Awake() {Screen.SetResolution(1024,
768, true);//自己想要的分辨率...
分类:
其他好文 时间:
2014-06-06 22:26:24
阅读次数:
165
// 注册 jvm 关闭时操作
Runtime.getRuntime().addShutdownHook(new Thread(){ public void run() {
System.out.println("关闭"); } });
分类:
其他好文 时间:
2014-06-06 21:54:11
阅读次数:
241
using System;using System.Collections.Generic;using
System.Data.Entity;using System.Linq;using System.Linq.Expressions;using
System.Text;using SnsDB;u...
分类:
其他好文 时间:
2014-06-06 21:45:06
阅读次数:
384
//
获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//
获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//
获取和设置当前目录(该进...
longtime=System.currentTimeMillis(); System.out.println(time); SimpleDateFormatformat=newSimpleDateFormat("yyyy-MM-ddHH:mm:ss"); java.util.Dated1=newDate(time); Stringnow=format.format(d1); System.out.println(now); longt=0; try{ java.util.Dated2=format.pa..
分类:
移动开发 时间:
2014-06-04 12:51:10
阅读次数:
474