◆
IsDecendantOf()
static bool IsDecendantOf
(
this Transform
transform
,
Transform
transformToCheck
)
static
Parameters
transform
this is the calling transform.
transformToCheck
This is the transform we will check against.
Returns
True if the calling transform has TrasformToCheck as an ancestor.
EyE
Unity
Extensions
TransformExtensions