Component Registration in Script System 在脚本系统中注册组件 To refer to our component from a script, the class, its properties and methods must first be registered in the script system. You may place the registration code in a file with the same name as the…
Unity3d 五大视图: 1 Scene:存放hierarchy中创建的游戏对象,但实际只能看到一部分 *Scene浏览: ①右键进入“飞行模式”,方便查看整个场景 ②选中摄像机,按ALT进入浏览的模式,便于查看摄像机的的视野范围,再用移动旋转之类的调整.和右键一样 ③鼠标滚轮缩放场景 ④选中一个游戏对象,点GameObject下 //快速调整对象 Move to view:shift the selected object to the center of the view port Ali…