Skip to content

Commit

Permalink
Remove UNITY_EDITOR symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Veinin committed Jan 20, 2022
1 parent 573a636 commit 5dfd260
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Runtime/ParticleSystem/ParticleSystemProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace UPA
{
#if UNITY_EDITOR
/// <summary>
/// 粒子系统性能分析器
/// </summary>
Expand Down Expand Up @@ -179,5 +178,4 @@ private int GetDrawPixelTimes(float g)
return Convert.ToInt32(g / 0.04);
}
}
#endif
}
2 changes: 0 additions & 2 deletions Runtime/ParticleSystem/ParticleSystemProfileAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace UPA
{
#if UNITY_EDITOR
[Serializable]
[CreateAssetMenu(fileName = "ParticleSystemProfile", menuName = "Performance Advisor/Particle System Profile Asset")]
public class ParticleSystemProfileAsset : ScriptableObject
Expand Down Expand Up @@ -40,5 +39,4 @@ public static ParticleSystemProfileAsset Load()
}
}
}
#endif
}
2 changes: 0 additions & 2 deletions Runtime/ParticleSystem/ParticleSystemResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace UPA
{
#if UNITY_EDITOR
/// <summary>
/// 粒子系统分析规则
/// </summary>
Expand Down Expand Up @@ -141,5 +140,4 @@ public class Summary
public double overDrawAvg;
public double overDrawMax;
}
#endif
}
2 changes: 0 additions & 2 deletions Runtime/Settings/AssetAdvisorSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace UPA
{
#if UNITY_EDITOR
[CreateAssetMenu(fileName = "New Profile Asset.asset", menuName = "Performance Advisor/Profile Asset")]
public class AssetAdvisorSettings : ScriptableObject
{
Expand Down Expand Up @@ -84,5 +83,4 @@ public static AssetAdvisorSettings current
}
}
}
#endif
}

0 comments on commit 5dfd260

Please sign in to comment.