class in UnityEngine
/
Inherits from:PropertyAttribute
/
Implemented in:UnityEngine.CoreModule
Delays the update of a variable's value.
When this attribute is used, the field only returns a new value after the user presses Enter or shifts focus away from the field.
float, int, and string types.float, int, string, Vector, and Rect types.using UnityEngine;
public class DelayedExample : MonoBehaviour { [Delayed] public float myDelayedFloat; }
| Constructor | Description |
|---|---|
| DelayedAttribute | Create a new DelayedAttribute. |
| Property | Description |
|---|---|
| applyToCollection | Makes attribute affect collections instead of their items. |
| order | Optional field to specify the order that multiple DecorationDrawers should be drawn in. |