代码参考如下:
using UnityEditor;
using UnityEditor.EditorTools;
using UnityEngine;[EditorTool("Roaming View Tool", typeof(SetRoamingViewCtrl))]
public class RoamingViewTool : EditorTool
{public override GUIContent toolbarIcon > Edi…
1.数据库 #建库 create database zhenqk charset utf8; use zhenqk; CREATE TABLE HR ( id int(6) NOT NULL AUTO_INCREMENT, name varchar(20) NOT NULL, age tinyint(4) DEFAULT 0, sex enum(男,女,默认) NOT NULL DEFAULT 默认, salary decimal(6,2) NOT NULL DEFAULT 3500.…
这是一个最最简单的Hello World 程序,但是如果你在Windows 英文版情况下就会出乱码。 //文件名保存UTF-8 public class HelloWorld{ public static void main(String[] args){ System.out.println("欢迎大家学习Java"); } } C:\>java HelloWorld ¢…