You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
Add try-catch
This commit is contained in:
@@ -104,6 +104,8 @@ namespace Coffee.UIExtensions
|
||||
ParticleSystemRenderer _renderer;
|
||||
|
||||
void UpdateMesh()
|
||||
{
|
||||
try
|
||||
{
|
||||
Profiler.BeginSample("CheckTrail");
|
||||
CheckTrail();
|
||||
@@ -173,6 +175,11 @@ namespace Coffee.UIExtensions
|
||||
Profiler.EndSample();
|
||||
}
|
||||
}
|
||||
catch(System.Exception e)
|
||||
{
|
||||
Debug.LogException(e);
|
||||
}
|
||||
}
|
||||
|
||||
void CheckTrail()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user