Add try-catch

pull/77/head
mob-sakai 2018-07-13 14:47:30 +09:00
parent 1f85fc6d98
commit b6f23013f8
1 changed files with 61 additions and 54 deletions

View File

@ -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()
{