*
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Rotation : MonoBehaviour {
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
transform.rotation = Quaternion.AngleAxis (Time.timeSinceLevelLoad * 10.0f, Vector3.up);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user