Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

BaseInputModule.FindCommonRoot

protected static GameObject FindCommonRoot(GameObject g1, GameObject g2);

Description

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

Did you find this page useful? Please give it a rating: