Expression: Анимация Anchor Point не влияя на Position слоя

a = transform.anchorPoint;
p = transform.position;
x = p[0]+(a[0]-width/2);
y = p[1]+(a[1]-height/2);
[x,y]

Recommended Posts