言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Profiler.EndSample

public static void EndSample();

Description

カスタムラベルの付いたコードの一部のプロファイリングを終了します

This will show up in the Profiler hierarchy.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        Profiler.BeginSample("MyPieceOfCode");
        Profiler.EndSample();
    }
}

See Also: Profiler.BeginSample, Profiler.