Skip to main content

NetworkPacketsDisplay

A class in Root.Township, Alta.Utilities.Profiling.

Placeholder debug readout for network packets per second. IsValid always returns false and the update is empty, so it never shows.

Constructors​

MemberWhat it is
NetworkPacketsDisplay()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private int lastPacketsPrevious total count. Never set in this build.
private float packetsPerIntervalCount per interval. Never set in this build.

Properties​

MemberWhat it is
protected override string Title { get; }Label Packets (p/s).

Methods​

MemberWhat it is
override void InternalUpdate(LiveDataDisplayView view)Empty in this build.
override bool IsValid()Always false.
protected override string GetData()The stored per-interval count as text.