Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

EventSystems.BaseInputModule.FindCommonRoot

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

Description

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