Add skybox, fix world map, temporarily break level load to demo stuff
This commit is contained in:
15
Assets/Scripts/RotateCamera.cs
Normal file
15
Assets/Scripts/RotateCamera.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Scampz.GameJam
|
||||
{
|
||||
public class RotateCamera : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private float speed;
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
transform.Rotate(0, speed * Time.deltaTime, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user