SpriteFactory.Sprite.Locator.ScaleChild
C#: void ScaleChild (Transform child, Vector3 scale)
JS: function ScaleChild (child : Transform, scale : Vector3) : void
Description
Scale a child of this locator.
This function takes batch scaling of the parent into account. If you're using batch scaling on the parent sprite, always scale children by calling this function instead of setting the transform's scale directly.
C#: void ScaleChild (Transform child, Vector3 scale, Vector3 position)
JS: function ScaleChild (child : Transform, scale : Vector3, position : Vector3) : void
Description
Scale a child of this locator and set the local position.
This function takes batch scaling of the parent into account. If you're using batch scaling on the parent sprite, always scale children by calling this function instead of setting the transform's scale directly.