Perfect像机切换脚本.docxVIP

  • 2
  • 0
  • 约2.03千字
  • 约 2页
  • 2019-07-14 发布于湖北
  • 举报
Perfect像机切换脚本 Posted on 2013年05月23日 by U3d / \o 查看 Unity3D脚本/插件 中的全部文章 Unity3D脚本/插件/被围观 8 次 01 var windowRect = Rect (0, 20, 200 , 50);//滑动工具栏对象 02 03   function OnGUI () { 04 05   windowRect = GUI.Window (0,Rect(0,windowRect.y,Screen.width,windowRect.height), DoMyWindow, “My Window”); 06 07   if (windowRect.y Screen.height-60){ 08 09   windowRect = GUI.Window (0,Rect(0,Screen.height-40,Screen.width,windowRect.height), DoMyWindow, “My Window”); 10 11   } 12 13   } 14 15   //================================================================= 16 17   var camera1 : Camera; //定义一

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档