m
Size: a a a
m
АН
T_
HX
T_
S
HX
АА
ДК
HX
ДК
OV
SetSaturationничего не меняется. Дебаг говорит, что значение равно 0 и ему плевать на любые изменения.
public ColorGrading cgm;
public PostProcessProfile postProcessProfile;
private void OnEnable()
{
postProcessProfile = MainCameraScript.Instance.gameObject.GetComponent<PostProcessVolume>().profile;
}
public void SetSaturation(float value)
{
cgm.saturation.Override(value);
}
АТ
ВС
P
S
AV
T
AV
T