摘要:
1.快捷键:Alt+n 回到上一条语句》把上一条语句复制 Alt+p 去到下一条语句 2.Python 中不用“;”来表示一个语句 3.print("I Love you"*8) 会打印8次 I Love you 4.键盘上的TAB键有(1)缩进功能 (2)提示的功能 5.# 用于注释代码 6.如果 阅读全文
摘要:
创建打字特效控制的脚本,将该脚本挂载都含有Text组件的对象上面,通过该脚本控制Text文本框的文字,以打字的效果显示文字。 脚本 using UnityEngine; using System.Collections; using UnityEngine.UI; public class Type 阅读全文
摘要:
NGUI发布后UI层看不见的解决办法 提示信息:You can'tplace widgets on a layer different than the UIPanel that manages them. If youwant to move widgets to a different laye 阅读全文
摘要:
Unity5.4.1与NGUI出现的问题Ignoring menu item NGUI because it is in no submenu! Ignoring menu item NGUI because it is in no submenu! 在Asset中的NGUI文件夹中找到NGUIMe 阅读全文
摘要:
一、NGUI的直接用法 1. Attach a Collider:表示为NGUI的某些物体添加碰撞器,如果界面是用NGUI做的,只能这样添加。(注:用Component添加无效)。 2. Attach an Anchor:表示为该物体添加了UIAnchor脚本,作用是避免像素偏移的问题 3. Att 阅读全文