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

Public Attributes

Func< bool > ShouldDestroy
 
Action OnUpdate
 
Transform trans
 
CanvasGroup cg
 

Private Member Functions

void Update ()
 

Detailed Description

Definition at line 4 of file UIHighlightObject.cs.

Member Function Documentation

◆ Update()

void UIHighlightObject.Update ( )
inlineprivate

Definition at line 14 of file UIHighlightObject.cs.

15 {
16 if (ShouldDestroy != null && ShouldDestroy())
17 {
18 UnityEngine.Object.DestroyImmediate(base.gameObject);
19 }
20 else
21 {
22 OnUpdate();
23 }
24 }
Func< bool > ShouldDestroy

References OnUpdate, and ShouldDestroy.

Member Data Documentation

◆ cg

CanvasGroup UIHighlightObject.cg

Definition at line 12 of file UIHighlightObject.cs.

◆ OnUpdate

Action UIHighlightObject.OnUpdate

Definition at line 8 of file UIHighlightObject.cs.

Referenced by Update().

◆ ShouldDestroy

Func<bool> UIHighlightObject.ShouldDestroy

Definition at line 6 of file UIHighlightObject.cs.

Referenced by Update().

◆ trans

Transform UIHighlightObject.trans

Definition at line 10 of file UIHighlightObject.cs.

Referenced by HotItemLayer.OnSetItem().


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