Добавил часы, уменьшил targetFps, поправил обращение к OpenHAB
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class FpsController : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
int targetFps;
|
||||
|
||||
void Start()
|
||||
{
|
||||
Application.targetFrameRate = targetFps;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user