Skip to content

Commit

Permalink
stop IL2CPP stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
richardelms committed Sep 25, 2024
1 parent 54fe43b commit ed11aa8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System;
using UnityEngine.Scripting;

namespace BugsnagUnityPerformance
{
Expand Down Expand Up @@ -112,7 +113,8 @@ private string GetNanoSeconds(DateTimeOffset time)
return (duration.Ticks * 100).ToString();
}

// This method tells Json.NET whether to serialize the droppedAttributesCount or not.
// This method tells Json.NET whether to serialize the droppedAttributesCount or not.
[Preserve]
public bool ShouldSerializedroppedAttributesCount()
{
return droppedAttributesCount > 0;
Expand Down

0 comments on commit ed11aa8

Please sign in to comment.