We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be5130b commit 0a01a78Copy full SHA for 0a01a78
Assets/LDtkUnity/Editor/Builders/LDtkBuilderEntity.cs
@@ -125,7 +125,8 @@ private void ScaleEntity()
125
126
//modify by the resized entity scaling from LDtk
127
Vector3 newScale = _entityObj.transform.localScale;
128
- newScale.Scale(_entityComponent.ScaleFactor);
+ newScale.x *= _entityComponent.ScaleFactor.x;
129
+ newScale.y *= _entityComponent.ScaleFactor.y;
130
_entityObj.transform.localScale = newScale;
131
}
132
0 commit comments