Загрузка данных


using UnityEngine;

public class CubeRotator : MonoBehaviour
{
    public float speed = 50f;
    void Update() => transform.Rotate(0, 0, speed * Time.deltaTime);
}