This version of Unity is unsupported.

UnsafeUtility.As<U, T>(ref U from)

Parameters

from The reference to reinterpret.

Returns

void A reference to a value of type T.

Description

Reinterprets the reference as a reference of a different type.