Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

BaseInputModule.FindCommonRoot

Switch to Manual
protected static function FindCommonRoot(g1: GameObject, g2: GameObject): GameObject;

Parameters

Description

Given 2 GameObjects, return a common root GameObject (or null).