mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-03-29 13:54:59 -05:00
26 lines
545 B
C#
26 lines
545 B
C#
using UnityEngine;
|
|
|
|
namespace UniVRM10.FastSpringBones.System
|
|
{
|
|
public sealed class FastSpringBoneTest : MonoBehaviour
|
|
{
|
|
[SerializeField] private FastSpringBoneSpring[] springs;
|
|
|
|
private FastSpringBoneScheduler _scheduler;
|
|
|
|
private void Start()
|
|
{
|
|
_scheduler = new FastSpringBoneScheduler(springs);
|
|
}
|
|
|
|
private void LateUpdate()
|
|
{
|
|
_scheduler.Schedule();
|
|
}
|
|
|
|
private void OnDestroy()
|
|
{
|
|
_scheduler.Dispose();
|
|
}
|
|
}
|
|
} |