Version: 2020.3
언어: 한국어

RawFrameDataView.GetSampleChildrenCountRecursive

매뉴얼로 전환
public int GetSampleChildrenCountRecursive (int sampleIndex);

파라미터

sampleIndex Index of the Profiler sample.

반환

int Returns amount of direct and indirect child samples.

설명

Gets amount of direct and indirect child samples for the specific sample.

Use to quickly advance to the next sibling sample.

using UnityEditor.Profiling;

public class Example { public static int SkipAllChildren(RawFrameDataView frameData, int sampleIndex) { return frameData.GetSampleChildrenCountRecursive(sampleIndex) + sampleIndex + 1; } }