Click or drag to resize
ITetrapodXTPart, TChainGetAutoDetectedDefinitionT Method

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static TetrapodDefinition GetAutoDetectedDefinition<T>(
	T tetrapod,
	Animator animator
)
where T : Component, ITetrapod<TPart, TChain>

Parameters

tetrapod
Type: T
An ITetrapodTPart, TChain.
animator
Type: Animator
An Animator to use if the NamingConvention is . If this parameter is left unspecified then the method will just check this object for an Animator component if needed.

Type Parameters

T
An ITetrapodTPart, TChainComponent type.

Return Value

Type: TetrapodDefinition
A TetrapodDefinition for the specified tetrapod component.
See Also