コード例 #1
0
ファイル: Commands.cs プロジェクト: Doppelkeks/uGameFramework
        protected void ExecuteStringOnMainScriptRawCommandHandler(ExecuteStringOnMainScriptRawCommand cmd)
        {
#if PERFORMANCE_TEST
            var ptest = Service.Performance.PerformanceTest.Get();
            ptest.Start("ExecuteStringOnMainScriptRawCommand");
#endif

            cmd.result = _service.ExecuteStringOnMainScriptRaw(cmd.fileName);
#if PERFORMANCE_TEST
            // now stop the watches
            ptest.Stop("ExecuteStringOnMainScriptRawCommand");
#endif
        }