기술 자료

Unity Engine

Unity Engine

Valid

Indicates whether ProfilerRecorder is associated with a valid Profiler marker or counter.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: Unity.Profiling
  • Assembly: UnityEngine.CoreModule
public bool Valid { get; }

Remarks

Returns true if ProfilerRecorder is associated with a valid Profiler marker or counter.
False is returned if a ProfilerMarker or ProfilerCounter hasn't been created yet. Use the Valid property to determine if the sample data can be used.