Skip to content
Snippets Groups Projects
Commit 7250649a authored by niklasfranz's avatar niklasfranz
Browse files

feat: add rotation manager script

parent d786505a
No related branches found
No related tags found
No related merge requests found
No preview for this file type
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotationManager : MonoBehaviour
{
public void RotateLeft()
{
transform.Rotate(0, -10f, 0);
}
public void RotateRight()
{
transform.Rotate(0, 10f, 0);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment