Open sandboxFocus

Method GetMutableRef

GetMutableRef<T>(in T)

Gets a mutable reference from a read-only in reference. Calls to this method are replaced at build time.

Declaration
public static ref T GetMutableRef<T>(in T reference)
Parameters
Type Name Description
T reference

A read-only reference.

Returns
Type Description
T

Exactly reference.

Type Parameters
Name Description
T

Reference type.