ConvertableUtilities.

TryConvert<T>(Object, T) Method

Summary

Tries to convert the `original` to T.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ConvertableUtilities

Syntax

public static bool TryConvert<T>(Object original, out T converted)

Remarks

  • If the `original` is already a then it's returned directly.
  • Or if it's an then is used.
  • Otherwise, this method returns false.

Type Parameters

Name Description
T

Parameters

Name Type Description
original Object
converted T

Return Value

Type Description
bool