Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/jackmawer/JacksWorld. An abandoned mini-project that I created while learning to use Unity with networking.
Something went wrong. Try again.
322 B · 17 lines
C#
at master
123456789101112131415161718using UnityEngine;using System.Collections;
public class Rotate : MonoBehaviour {
Vector3 angle ; // Use this for initialization void Start () { angle = transform.eulerAngles ; } // Update is called once per frame void Update () { angle.y += Time.deltaTime * 100 ; transform.eulerAngles = angle ; }}