You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
615 B
C#

using UnityEngine;
using System.Collections;
namespace Autohand {
[DefaultExecutionOrder(100)]
public class InterpolatedTransformUpdater : MonoBehaviour {
private InterpolatedTransform _interpolatedTransform;
private InterpolatedTransform interpolatedTransform {
get {
if(_interpolatedTransform == null)
_interpolatedTransform = GetComponent<InterpolatedTransform>();
return _interpolatedTransform;
}
}
void FixedUpdate() {
interpolatedTransform?.LateFixedUpdate();
}
}
}