Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
SingleContent Class Reference
Inheritance diagram for SingleContent:

Public Member Functions

void Select (GameObject go)
 

Public Attributes

List< GameObject > exclude
 

Detailed Description

Definition at line 4 of file SingleContent.cs.

Member Function Documentation

◆ Select()

void SingleContent.Select ( GameObject  go)
inline

Definition at line 8 of file SingleContent.cs.

9 {
10 if (exclude.Contains(go))
11 {
12 return;
13 }
14 foreach (Transform componentsInDirectChild in this.GetComponentsInDirectChildren<Transform>())
15 {
16 if (!exclude.Contains(componentsInDirectChild.gameObject) && !componentsInDirectChild.gameObject.tag.Contains("PivotTooltip") && componentsInDirectChild.gameObject != go)
17 {
18 componentsInDirectChild.gameObject.SetActive(value: false);
19 }
20 }
21 }
List< GameObject > exclude
Definition: SingleContent.cs:6

References exclude.

Member Data Documentation

◆ exclude

List<GameObject> SingleContent.exclude

Definition at line 6 of file SingleContent.cs.

Referenced by Select().


The documentation for this class was generated from the following file: