Add NegrBagrJaromirJagr minigame
This commit is contained in:
11
Assets/RotateDiamond.cs
Normal file
11
Assets/RotateDiamond.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class RotateDiamond : MonoBehaviour
|
||||
{
|
||||
public float rotationSpeed = 90f;
|
||||
|
||||
void Update()
|
||||
{
|
||||
transform.Rotate(Vector3.forward, rotationSpeed * Time.deltaTime, Space.Self);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user