Profiler.BeginSample 开始采样
static function BeginSample (name : string) : void
Description描述
Begin profiling a piece of code with a custom label.
开始分析一段代码,带有一个自定义标签。
This will show up in the Profiler hierarchy.
这将显示在Profiler的层级面板。
Profiler.BeginSample ("MyPieceOfCode");
// do something that takes a lot of time
Profiler.EndSample ();
最后修改:2011年3月25日 Friday 13:43