funguj
This commit is contained in:
17
Assets/MainScreenUI/RotaceZeme.cs
Normal file
17
Assets/MainScreenUI/RotaceZeme.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
//clankr
|
||||
public class RotaceZeme : MonoBehaviour
|
||||
{
|
||||
public float rychlost = 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()
|
||||
{
|
||||
transform.Rotate(Vector3.up, rychlost * Time.deltaTime);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user