标签:bsp 右键 seo oid 简单 eth mouse code put
最简单的方法
private void OnMouseDown() { //to do something }
如果只想监听右键点击这个物体
private void OnMouseOver() { if (Input.GetMouseButtonDown(1)) { //to do something } }
标签:bsp 右键 seo oid 简单 eth mouse code put
原文地址:https://www.cnblogs.com/sanyejun/p/12042072.html