void SetTextureFileSprite(AssetFile file, float pixelsToUnits) { baseScale = Vector2.one * file.SpriteInfo.scale; Sprite = file.GetSprite(pixelsToUnits); }