Upload project

This commit is contained in:
Lauchstange committed 2025-01-30 17:20:27 +01:00
1 parent 6bbeab16d1
commit bf545f3baf
371 files changed
+91095

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
using UnityEngine;
public class Rotating : MonoBehaviour
{
private float _rotationSpeed = 20f;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
var rotation = transform.rotation;
rotation *= Quaternion.Euler(0, _rotationSpeed * Time.deltaTime, 0);
transform.rotation = rotation;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 81cbba94ac85d184a95e7d5b5d71b965