Files
Genesis_Unity/Assets/MagicaCloth2/Example (Can be deleted)/Common/Scripts/TargetFPS.cs
2026-03-27 18:12:31 +09:00

20 lines
348 B
C#

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