Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
UIHeader.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
public
class
UIHeader
: MonoBehaviour
4
{
5
public
string
lang1
;
6
7
public
UIText
text1
;
8
9
public
bool
rebuildLayout
;
10
11
private
void
Start
()
12
{
13
if
(!
lang1
.IsEmpty())
14
{
15
text1
.
SetLang
(
lang1
);
16
}
17
if
(
rebuildLayout
)
18
{
19
text1
.RebuildLayout();
20
this.RebuildLayout();
21
}
22
}
23
24
public
void
SetText
(
string
s)
25
{
26
lang1
=
null
;
27
text1
.
SetText
(s.lang().ToTitleCase());
28
text1
.RebuildLayout();
29
this.RebuildLayout();
30
}
31
}
UIHeader
Definition:
UIHeader.cs:4
UIHeader.rebuildLayout
bool rebuildLayout
Definition:
UIHeader.cs:9
UIHeader.text1
UIText text1
Definition:
UIHeader.cs:7
UIHeader.SetText
void SetText(string s)
Definition:
UIHeader.cs:24
UIHeader.Start
void Start()
Definition:
UIHeader.cs:11
UIHeader.lang1
string lang1
Definition:
UIHeader.cs:5
UIText
Definition:
UIText.cs:6
UIText.SetText
void SetText(string s)
Definition:
UIText.cs:159
UIText.SetLang
void SetLang(string idLang)
Definition:
UIText.cs:240
Elin
Plugins.UI
UIHeader.cs
Generated by
1.9.6