文档

Unity Engine

Unity Engine

AttributesScope

Scope for using a given set of attributes.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

DisposeRe-assigns the original attributes to the target.