Exemplo n.º 1
0
 public void Update()
 {
     if (entity != null)
     {
         UnityEngine.Profiling.Profiler.BeginSample((entity.title != null ? entity.title : entity.ToString()));
         entity.Update();
         UnityEngine.Profiling.Profiler.EndSample();
     }
 }