Summary
A system that uses a
Weaver.Examples.FrameRate.Text
component to display the current Frame Rate (Frames Per Second).
The displayed value is updated once per second.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Examples - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["FrameRate"]
class Type type-node
Syntax
public sealed class FrameRate : MonoBehaviour
Fields
Name | Constant Value | Summary |
---|---|---|
Instance |
The
Weaver.AssetInstanceAttribute causes this field to show up in the Weaver Window so the user can
assign a prefab to it (specifically, a prefab with a Weaver.Examples.FrameRate component on it). Then Weaver
will automatically instantiate a copy of that prefab on startup and assign it to this field.
static
|
Properties
Name | Value | Summary |
---|---|---|
Text | Text |
The
Weaver.Examples.FrameRate.Text component that will display the current value. |