기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


SetValueAndNotify<T>(IRenderPipelineGraphicsSettings, ref T, T, string)

Sets the value of a given property. If the new value is different from the previous one, the method raises a notification of the change.
읽는 시간 1분최근 업데이트: 24일 전

Definition

SetValueAndNotify<T>(IRenderPipelineGraphicsSettings, T, T, string)

public static void SetValueAndNotify<T>(this IRenderPipelineGraphicsSettings settings, ref T currentPropertyValue, T newValue, string propertyName = null)

Parameters

The IRenderPipelineGraphicsSettings instance that contains the property.

currentPropertyValue

T
The current value.

newValue

T
The new value.

propertyName

The property name. It can be inferred automatically.