Files
BITFALL/Assets/MagicaCloth2/Example (Can be deleted)/Common/Scripts/TargetFPS.cs
CortexCore 8acd61ea57 11
2024-03-18 18:20:23 +08:00

26 lines
425 B
C#

// Magica Cloth 2.
// Copyright (c) 2023 MagicaSoft.
// https://magicasoft.jp
using UnityEngine;
namespace MagicaCloth2
{
public class TargetFPS : MonoBehaviour
{
public int frameRate = 60;
void Start()
{
#if !UNITY_EDITOR
Application.targetFrameRate = frameRate;
#endif
}
// Update is called once per frame
void Update()
{
}
}
}