摘要:
public void SaveTexture(string path, Texture2D texture, float scaleValue) { float tempX = texture.width; float tempY = texture.height; float x = tempX 阅读全文
摘要:
方法一: Vector2 pos; RectTransformUtility.ScreenPointToLocalPointInRectangle(canvas.transform as RectTransform, Camera.main.WorldToScreenPoint(wordPos), 阅读全文
摘要:
命名空间:UnityEditor 继承类:EditorWindiw (这个类可以实现弹出窗口)静态变量:自身类的对象 窗口按钮的显示:方法上一行[MenueItem(“菜单路径”)]即可,创建出来的按钮就是触发这个方法,例:[MenueItem(“leixuan/tool”)]public stat 阅读全文