AttributesScope
Scope for using a given set of attributes.
阅读时间1 分钟最后更新于 1 个月前
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. |