Table of Contents

Class SetPropertyUtility

Namespace
UnityEngine
Assembly
Assembly-CSharp.dll
public class SetPropertyUtility : MonoBehaviour
Inheritance
SetPropertyUtility
Extension Methods

Constructors

SetPropertyUtility()

public SetPropertyUtility()

Methods

SetClass<T>(ref T, T)

public static bool SetClass<T>(ref T currentValue, T newValue) where T : class

Parameters

currentValue T
newValue T

Returns

bool

Type Parameters

T

SetColor(ref Color, Color)

public static bool SetColor(ref Color currentColor, Color newColor)

Parameters

currentColor Color
newColor Color

Returns

bool

SetStruct<T>(ref T, T)

public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

Parameters

currentValue T
newValue T

Returns

bool

Type Parameters

T