CharTweener
CharTweener copied to clipboard
Lacking properties for localPosition
CharTweener.Properties is lacking the Get/Set methods for managing the proxy transform's localPositions.
As far as I can see, this can easily be implemented with:
public Vector3 GetLocalPosition(int charIndex)
{
return proxyTransforms == null ? Vector3.zero : GetProxyTransform(charIndex).localPosition;
}
public void SetLocalPosition(int charIndex, Vector3 localPosition)
{
GetProxyTransform(charIndex).localPosition = localPosition;
_updateVerticesPending = true;
}
I've added it for me locally, but I guess it could be useful in the repo!