10 lines
181 B
C#
10 lines
181 B
C#
using UnityEngine;
|
|
|
|
public class RotateZ : MonoBehaviour
|
|
{
|
|
void Update()
|
|
{
|
|
transform.Rotate(new Vector3(0,0,Time.deltaTime * 100.0f), Space.World);
|
|
}
|
|
}
|