There is also overhauled camera zoom behavior, an update to the match logic, tweaks to the main menu scene.
17 lines
222 B
C#
17 lines
222 B
C#
using UnityEngine;
|
|
|
|
public class LockRotation : MonoBehaviour
|
|
{
|
|
Quaternion initialRotation;
|
|
|
|
void Start()
|
|
{
|
|
initialRotation = transform.rotation;
|
|
}
|
|
|
|
void LateUpdate()
|
|
{
|
|
transform.rotation = initialRotation;
|
|
}
|
|
}
|