DelayedAttribute
Attribute used to make a float, int, or string variable in a script be delayed.
Read time 3 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: PropertyAttribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = false)]public sealed class DelayedAttribute : PropertyAttribute, _Attribute
Remarks
When this attribute is used, the float, int, or text field will not return a new value until the user has pressed enter or focus is moved away from the field.
Constructors
Constructor | Description |
|---|---|
| DelayedAttribute() | Attribute used to make a float, int, or string variable in a script be delayed. |