Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
SingleContent.cs
Go to the documentation of this file.
1
using
System.Collections.Generic;
2
using
UnityEngine;
3
4
public
class
SingleContent
: MonoBehaviour
5
{
6
public
List<GameObject>
exclude
;
7
8
public
void
Select
(GameObject go)
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
}
22
}
SingleContent
Definition:
SingleContent.cs:5
SingleContent.Select
void Select(GameObject go)
Definition:
SingleContent.cs:8
SingleContent.exclude
List< GameObject > exclude
Definition:
SingleContent.cs:6
Elin
Plugins.basecore
SingleContent.cs
Generated by
1.9.6