11 lines
222 B
C#
11 lines
222 B
C#
using UnityEngine;
|
|
|
|
public class RotateDiamond : MonoBehaviour
|
|
{
|
|
public float rotationSpeed = 90f;
|
|
|
|
void Update()
|
|
{
|
|
transform.Rotate(Vector3.forward, rotationSpeed * Time.deltaTime, Space.Self);
|
|
}
|
|
} |