Documentation

Unity Engine

Unity Engine

Convert<TSource, TDestination>(ref TSource)

Converts the specified value from TSource to TDestination.
Read time 1 minuteLast updated 3 hours ago

Definition

Convert<T, U>(T)

public static TDestination Convert<TSource, TDestination>(ref TSource value)

Parameters

value

T
The source value to convert.

Returns

Type

Description

TThe value converted to the
TDestination
type.