using UnityEngine; using System.Collections; public class LightControll : MonoBehaviour { void Update () { this.gameObject.transform.Rotate(new Vector3(10, 0, 0) * Time.deltaTime); } }