Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AttributesScope

Scope for using a given set of attributes.
Read time 1 minuteLast updated 8 days ago

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.