C# Class BattleText, RPGQuest

Inheritance: MonoBehaviour
Exibir arquivo Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
alpha float
color Color
settings BattleTextSettings,
shadowColor Color
text string

Protected Properties

Property Type Description
cam Camera
combatant GameObject
countDistance int
countInterpolate Function
counting bool
currentValue int
inDistance float
interpolateIn Function
interpolateOut Function
outDistance float
startValue int
time float
value int
xSpeed float
ySpeed float
zSpeed float

Public Methods

Method Description
GetScreenPosition ( ) : Vector3
ShowNumber ( int i, GameObject c, BattleTextSettings, ts ) : void
ShowText ( string t, GameObject c, BattleTextSettings, ts ) : void
Update ( ) : void

Private Methods

Method Description
InitSettings ( ) : bool

Method Details

GetScreenPosition() public method

public GetScreenPosition ( ) : Vector3
return Vector3

ShowNumber() public method

public ShowNumber ( int i, GameObject c, BattleTextSettings, ts ) : void
i int
c GameObject
ts BattleTextSettings,
return void

ShowText() public method

public ShowText ( string t, GameObject c, BattleTextSettings, ts ) : void
t string
c GameObject
ts BattleTextSettings,
return void

Update() public method

public Update ( ) : void
return void

Property Details

alpha public_oe property

public float alpha
return float

cam protected_oe property

protected Camera cam
return Camera

color public_oe property

public Color color
return Color

combatant protected_oe property

protected GameObject combatant
return GameObject

countDistance protected_oe property

protected int countDistance
return int

countInterpolate protected_oe property

protected Function countInterpolate
return Function

counting protected_oe property

protected bool counting
return bool

currentValue protected_oe property

protected int currentValue
return int

inDistance protected_oe property

protected float inDistance
return float

interpolateIn protected_oe property

protected Function interpolateIn
return Function

interpolateOut protected_oe property

protected Function interpolateOut
return Function

outDistance protected_oe property

protected float outDistance
return float

settings public_oe property

public BattleTextSettings, settings
return BattleTextSettings,

shadowColor public_oe property

public Color shadowColor
return Color

startValue protected_oe property

protected int startValue
return int

text public_oe property

public string text
return string

time protected_oe property

protected float time
return float

value protected_oe property

protected int value
return int

xSpeed protected_oe property

protected float xSpeed
return float

ySpeed protected_oe property

protected float ySpeed
return float

zSpeed protected_oe property

protected float zSpeed
return float