C# Class Skill, Castle-Bashers

Afficher le fichier Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Méthodes publiques

Свойство Type Description
augment Augment
skillType Type
useSkillAudio AudioClip
value float

Protected Properties

Свойство Type Description
coolDown float
coolDownTimer float
level int
manaCost int
price int

Méthodes publiques

Méthode Description
GetCoolDown ( ) : float
GetCoolDownTimer ( ) : float
GetDiscription ( ) : string
GetLevel ( ) : int
GetManaCost ( ) : int
GetPrice ( ) : int
GetSkillIcon ( ) : Sprite
GetSkillLevel ( ) : SkillLevel
GetSkillName ( ) : string
SetBaseValues ( float coolDown, int price, int manaCost, string skillName, SkillLevel skillLevel, string discription = null ) : void
SetCoolDown ( float value ) : void
SetSkillAudioClip ( AudioClip audio ) : void
SetSkillIcon ( Sprite icon ) : void
UseSkill ( GameObject caller, GameObject target = null, System optionalParameters = null ) : void
addLevel ( ) : void

Méthodes protégées

Méthode Description
Start ( ) : void
Update ( ) : void

Method Details

GetCoolDown() public méthode

public GetCoolDown ( ) : float
Résultat float

GetCoolDownTimer() public méthode

public GetCoolDownTimer ( ) : float
Résultat float

GetDiscription() public méthode

public GetDiscription ( ) : string
Résultat string

GetLevel() public méthode

public GetLevel ( ) : int
Résultat int

GetManaCost() public méthode

public GetManaCost ( ) : int
Résultat int

GetPrice() public méthode

public GetPrice ( ) : int
Résultat int

GetSkillIcon() public méthode

public GetSkillIcon ( ) : Sprite
Résultat Sprite

GetSkillLevel() public méthode

public GetSkillLevel ( ) : SkillLevel
Résultat SkillLevel

GetSkillName() public méthode

public GetSkillName ( ) : string
Résultat string

SetBaseValues() public méthode

public SetBaseValues ( float coolDown, int price, int manaCost, string skillName, SkillLevel skillLevel, string discription = null ) : void
coolDown float
price int
manaCost int
skillName string
skillLevel SkillLevel
discription string
Résultat void

SetCoolDown() public méthode

public SetCoolDown ( float value ) : void
value float
Résultat void

SetSkillAudioClip() public méthode

public SetSkillAudioClip ( AudioClip audio ) : void
audio AudioClip
Résultat void

SetSkillIcon() public méthode

public SetSkillIcon ( Sprite icon ) : void
icon Sprite
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

UseSkill() public méthode

public UseSkill ( GameObject caller, GameObject target = null, System optionalParameters = null ) : void
caller GameObject
target GameObject
optionalParameters System
Résultat void

addLevel() public méthode

public addLevel ( ) : void
Résultat void

Property Details

augment public_oe property

public Augment augment
Résultat Augment

coolDown protected_oe property

protected float coolDown
Résultat float

coolDownTimer protected_oe property

protected float coolDownTimer
Résultat float

level protected_oe property

protected int level
Résultat int

manaCost protected_oe property

protected int manaCost
Résultat int

price protected_oe property

protected int price
Résultat int

skillType public_oe property

public Type skillType
Résultat Type

useSkillAudio public_oe property

public AudioClip useSkillAudio
Résultat AudioClip

value public_oe property

public float value
Résultat float