浏览代码

Forgot Dispose in TwistChainStep1 and TwistChainStep2.

/main
Simon Bouvier-Zappa 5 年前
当前提交
7d8a9f1c
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2
      Assets/AnimationRiggingWorkshop/Constraints/TwistChainStep1.cs
  2. 1
      Assets/AnimationRiggingWorkshop/Constraints/TwistChainStep2.cs

2
Assets/AnimationRiggingWorkshop/Constraints/TwistChainStep1.cs


public override void Destroy(TwistChainStep1Job job)
{
job.chain.Dispose();
job.steps.Dispose();
}
public override void Update(TwistChainStep1Job job, ref TwistChainStep1Data data)

1
Assets/AnimationRiggingWorkshop/Constraints/TwistChainStep2.cs


public override void Destroy(TwistChainStep2Job job)
{
job.chain.Dispose();
job.steps.Dispose();
}
public override void Update(TwistChainStep2Job job, ref TwistChainStep2Data data)

正在加载...
取消
保存