IStackTraceProvider Interface
Definition
Section titled “Definition”Provides stack traces.
public interface IStackTraceProviderRemarks
Section titled “Remarks”This type only exists in the Unity editor and will be removed in builds!
Fields
Section titled “Fields”MAX_STACK_TRACE_ENTRIES
Section titled “MAX_STACK_TRACE_ENTRIES”How many stack traces to keep.
public const int MAX_STACK_TRACE_ENTRIES = 100Properties
Section titled “Properties”CollectStackTraces
Section titled “CollectStackTraces”If true, stack traces will be collected.
bool CollectStackTraces { get; set; }Invocations
Section titled “Invocations”A list of stack traces.
IList<StackTraceEntry> Invocations { get; }Events
Section titled “Events”OnStackTraceAdded
Section titled “OnStackTraceAdded”When a new stack trace is added.
event Action OnStackTraceAdded