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

Public Member Functions

Popper SetText (string s, Color c=default(Color))
 

Static Public Member Functions

static void SetText (TextMesh mesh, string text)
 

Public Attributes

bool isDestryoed
 
DOTweenAnimation anime
 
SpriteRenderer sr
 
Vector3 posFix
 
Vector3 posRandom
 
bool useLocalPosition
 
Tween tweenDelay
 
TextMesh text
 
TextMesh text2
 

Static Public Attributes

static Vector3 scale = Vector3.one
 

Detailed Description

Definition at line 5 of file Popper.cs.

Member Function Documentation

◆ SetText() [1/2]

Popper Popper.SetText ( string  s,
Color  c = default(Color) 
)
inline

Definition at line 28 of file Popper.cs.

29 {
30 SetText(text, s);
31 base.transform.localScale = scale;
32 if (c != default(Color))
33 {
34 text.color = c;
35 text2.color = c;
36 }
37 return this;
38 }
Popper SetText(string s, Color c=default(Color))
Definition: Popper.cs:28
static Vector3 scale
Definition: Popper.cs:7
TextMesh text
Definition: Popper.cs:24

References Color, scale, SetText(), and text.

Referenced by Card.DamageHP(), BaseStats.PopText(), ActionMode.RefreshTexts(), and SetText().

◆ SetText() [2/2]

static void Popper.SetText ( TextMesh  mesh,
string  text 
)
inlinestatic

Definition at line 40 of file Popper.cs.

41 {
42 TextMesh[] componentsInChildren = mesh.GetComponentsInChildren<TextMesh>();
43 foreach (TextMesh obj in componentsInChildren)
44 {
46 obj.text = text;
47 obj.font.material.renderQueue = 4999;
48 obj.GetComponent<MeshRenderer>().sharedMaterial = mesh.font.material;
49 }
50 mesh.font.material.renderQueue = 5000;
51 }
Font font
Definition: FontSource.cs:9
FontSet fontSet
Definition: SkinManager.cs:74
static SkinManager Instance
Definition: SkinManager.cs:78

References FontSource.font, SkinManager.fontSet, SkinManager.Instance, SkinManager.FontData.source, text, and SkinManager.FontSet.ui.

Member Data Documentation

◆ anime

DOTweenAnimation Popper.anime

Definition at line 12 of file Popper.cs.

Referenced by PopperManager.Kill(), and PopperManager.Pop().

◆ isDestryoed

bool Popper.isDestryoed

Definition at line 10 of file Popper.cs.

◆ posFix

Vector3 Popper.posFix

Definition at line 16 of file Popper.cs.

Referenced by PopperManager.Pop().

◆ posRandom

Vector3 Popper.posRandom

Definition at line 18 of file Popper.cs.

Referenced by PopperManager.Pop().

◆ scale

Vector3 Popper.scale = Vector3.one
static

Definition at line 7 of file Popper.cs.

Referenced by SetText().

◆ sr

SpriteRenderer Popper.sr

Definition at line 14 of file Popper.cs.

◆ text

TextMesh Popper.text

Definition at line 24 of file Popper.cs.

Referenced by SetText().

◆ text2

TextMesh Popper.text2

Definition at line 26 of file Popper.cs.

◆ tweenDelay

Tween Popper.tweenDelay

Definition at line 22 of file Popper.cs.

Referenced by PopperManager.Kill().

◆ useLocalPosition

bool Popper.useLocalPosition

Definition at line 20 of file Popper.cs.

Referenced by PopperManager.Pop().


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