mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-25 07:28:51 -05:00
fix comment space
This commit is contained in:
parent
fc117b8332
commit
6087256d1f
|
|
@ -53,7 +53,7 @@ namespace UniGLTF.SpringBoneJobs
|
|||
/// <summary>
|
||||
/// バッファを再構築する
|
||||
/// </summary>
|
||||
private JobHandle ReconstructBuffers(JobHandle handle)
|
||||
private JobHandle ReconstructBuffers(JobHandle handle)
|
||||
{
|
||||
Profiler.BeginSample("FastSpringBone.ReconstructBuffers");
|
||||
|
||||
|
|
|
|||
|
|
@ -13,18 +13,9 @@ namespace VRM.SpringBoneJobs
|
|||
{
|
||||
public static class FastSpringBoneReplacer
|
||||
{
|
||||
/// <summary>
|
||||
/// - 指定された GameObject 内にある SpringBone を停止させる
|
||||
/// - FastSpringBoneBuffer に変換する
|
||||
/// </summary>
|
||||
public static async Task<FastSpringBoneBuffer> MakeBufferAsync(GameObject root, IAwaitCaller awaitCaller = null, CancellationToken token = default)
|
||||
{
|
||||
var components = root.GetComponentsInChildren<VRMSpringBone>();
|
||||
// foreach (var sb in components)
|
||||
// {
|
||||
// // 停止させて FastSpringBoneService から実行させる
|
||||
// sb.m_updateType = VRMSpringBone.SpringBoneUpdateType.Manual;
|
||||
// }
|
||||
|
||||
var springs = new FastSpringBoneSpring[components.Length];
|
||||
for (int i = 0; i < components.Length; ++i)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user