AttributesScope
Scope for using a given set of attributes.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Struct
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
- Implements: IDisposable
public readonly struct AttributesScope : IDisposable
Constructors
Constructor | Description |
|---|---|
| AttributesScope(Unity.Properties.IProperty,Unity.Properties.IProperty) | Initializes a new instance of the AttributesScope struct assigns the given attributes to the specified target. |
Methods
Method | Description |
|---|---|
| Dispose | Re-assigns the original attributes to the target. |