空のGame Objectを作って、回したいオブジェクトを中にいれると、座標の中心でぐるぐるまわる
using UnityEngine; using System.Collections; public class KeyboardCameraBehavior : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { this.transform.Rotate ( 0, ( Input.GetAxis ( "Horizontal" ) * 4 ), 0 ); this.transform.Rotate ( ( Input.GetAxis ( "Vertical" ) * 4 ) ,0,0); } }