Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed Feb 25, 2024
1 parent c895725 commit 40d6bcc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@ private static string PathToTexture(string assetPath, TilesetDefinition def = nu
return path;
}

//todo really look at this function and understand if it's truly nessesary.
//experimnent with using it on and off and checking how builds behave as a result.
//will they log like this: https://forum.unity.com/threads/sprite-outline-generation-failed-could-not-read-texture-pixel-data-when-building-the-game.861775/

private void AddOffsetToPhysicsShape(Sprite spr, int i)
{
Profiler.BeginSample("GetSpriteData");
Expand Down

0 comments on commit 40d6bcc

Please sign in to comment.