Skip to content

Commit

Permalink
Make sure boneWeights in Skin2D are not included in builds since they…
Browse files Browse the repository at this point in the history
… contain lots of strings.
  • Loading branch information
playemgames committed Feb 19, 2021
1 parent 2b80e90 commit 4dc094d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Boner2D/Scripts/Skin2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ public class Skin2D : MonoBehaviour {
// The sprite reference for the Skin2D
public Sprite sprite;

#if UNITY_EDITOR
// The bone weights assigned to the Skin2D
[HideInInspector]
public Bone2DWeights boneWeights;
#endif

// Material for generating mesh lines for debugging
private Material lineMaterial;
Expand Down

0 comments on commit 4dc094d

Please sign in to comment.