unity中对标Google Earth的鼠标操作
下面的代码对标的是Google Earth的鼠标鼠标操作。
为模拟操作,欢迎指正!
using UnityEngine;
using System.Collections;
public class MouseControllerCmaer : MonoBehaviour
{
[Tooltip("观察的对象")]
public GameObject target;
[Tooltip("X轴的移动速率")]
public float xSpeed;
[Too
原创
2021-03-18 10:59:34 ·
293 阅读 ·
2 评论