using UnityEngine; using System.Collections; public class robot : MonoBehaviour { private GameObject myRobot; private Camera carmera; // Use this for initialization void Start () { myRobot = GameObject.Find("robot"); //carmera = Camera.main; //第…
unity3d 触屏多点触控(旋转与缩放) /*Touch OrbitProgrammed by: Randal J. Phillips (Caliber Mengsk)Original Creation Date: 12/16/2011Last Updated: 12/16/2011Desctiption: Simple orbit by one touch and drag, as well as pinch to zoom with two finger…