Files
findthesource/Assets/Scripts/menu/FrameRateSetter.cs

11 lines
311 B
C#
Raw Normal View History

2023-03-14 16:44:25 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FrameRateSetter : MonoBehaviour
{
2023-04-20 14:48:38 +02:00
//mobil miatt volt (30fps) van ertelme? nincs sok mozgas es animacio \\ ha lesz animacio vissza rakhato
2023-03-14 16:44:25 +01:00
private void Awake() {
Application.targetFrameRate = 60;
}
2023-04-20 14:48:38 +02:00
}