PlaneRun/Assets/Scripts/cameraFollow.cs

25 lines
442 B
C#

using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Security.Cryptography;
using UnityEngine;
public class cameraFollow : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void FixedUpdate()
{
transform.rotation = Quaternion.Euler(90, 0, 0);
}
}