Skip to content

Is Sibling Of

Transforms ยป Is Sibling Of

Description

Returns true if the game object shares the same parent as the other one

Parameters

Name Description
Sibling A The game object instance compared
Sibling B Another game object instance compared

Keywords

Transform Hierarchy Ancestor Brother Sister