oldman

//用指定图片替换鼠标指针
var mouse:Texture;
function Update(){
Screen.showCursor=false;//隐藏鼠标指针
}
function OnGUI{
var msPos=Input.mousePosition;//鼠标的位置
GUI.DrawTexture(Rect(msPos.x,Screen.height-msPos.y,20,20),mouse);

分类:

技术点:

相关文章:

  • 2021-11-11
  • 2021-12-16
  • 2021-11-01
  • 2021-11-01
  • 2021-10-10
  • 2021-11-11
  • 2021-11-11
  • 2021-11-01
猜你喜欢
  • 2021-11-14
  • 2021-11-11
  • 2021-04-27
  • 2021-11-14
  • 2021-11-14
  • 2021-10-16
  • 2021-11-11
相关资源
相似解决方案