Version 2.1.0.0

GUIFrameCounter class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public class GUIFrameCounter
A utility class for properly counting frames and helps determine when a frame has started in an editor window.
Inheritance
  • System.Object
  • GUIFrameCounter

Constructors

GUIFrameCounter()
public GUIFrameCounter()

Properties

FrameCount
Gets the frame count.
public int FrameCount { get; }
IsNewFrame
Gets a value indicating whether this instance is new frame.
public bool IsNewFrame { get; }

Methods

Update()
Updates the frame counter and returns itself.
public GUIFrameCounter Update()
Returns
GUIFrameCounter

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.