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
|
|
|
}
|