Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
WindowInner.cs
Go to the documentation of this file.
1using UnityEngine;
2using UnityEngine.UI;
3
4public class WindowInner : MonoBehaviour, IUISkin
5{
6 public LayoutGroup layout;
7
8 public UIImage bg;
9
10 public RectTransform rectCorner;
11
13
14 protected void Awake()
15 {
16 ApplySkin();
17 }
18
19 public void ApplySkin()
20 {
22 if ((bool)rectCorner)
23 {
24 rectCorner.anchoredPosition = currentSkin.positions.innerCorner;
25 rectCorner.SetAsLastSibling();
26 }
27 }
28}
SkinRootStatic currentSkin
Definition: SkinManager.cs:53
static SkinManager Instance
Definition: SkinManager.cs:78
Positions positions
void Awake()
Definition: WindowInner.cs:14
void ApplySkin()
Definition: WindowInner.cs:19
UIScrollView scrollView
Definition: WindowInner.cs:12
LayoutGroup layout
Definition: WindowInner.cs:6
RectTransform rectCorner
Definition: WindowInner.cs:10
UIImage bg
Definition: WindowInner.cs:8