Beispiel #1
0
        protected void CallCommandHandler(CallCommand cmd)
        {
#if PERFORMANCE_TEST
            var ptest = Service.Performance.PerformanceTest.Get();
            ptest.Start("CallCommand");
#endif

            cmd.result = _service.Call(cmd.act, cmd.usingCoroutine, cmd.global);
#if PERFORMANCE_TEST
            // now stop the watches
            ptest.Stop("CallCommand");
#endif
        }
Beispiel #2
0
 protected void CallCommandHandler(CallCommand cmd)
 {
     //Profiler.BeginSample("CallCommandHandler");
     cmd.result = _service.Call(cmd.act, cmd.usingCoroutine);
     //Profiler.EndSample();
 }