Skip to content

Instantly share code, notes, and snippets.

@kou-yeung
Last active November 9, 2018 03:34
using UnityEngine;
public class Move : MonoBehaviour
{
void Update()
{
transform.localRotation = transform.localRotation * Quaternion.AngleAxis(100 * Time.deltaTime, Vector3.one);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment