C# 클래스 Skill, Castle-Bashers

파일 보기 프로젝트 열기: DevelopersGuild/Castle-Bashers 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
augment Augment
skillType Type
useSkillAudio AudioClip
value float

보호된 프로퍼티들

프로퍼티 타입 설명
coolDown float
coolDownTimer float
level int
manaCost int
price int

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void

메소드 상세

GetCoolDown() 공개 메소드

public GetCoolDown ( ) : float
리턴 float

GetCoolDownTimer() 공개 메소드

public GetCoolDownTimer ( ) : float
리턴 float

GetDiscription() 공개 메소드

public GetDiscription ( ) : string
리턴 string

GetLevel() 공개 메소드

public GetLevel ( ) : int
리턴 int

GetManaCost() 공개 메소드

public GetManaCost ( ) : int
리턴 int

GetPrice() 공개 메소드

public GetPrice ( ) : int
리턴 int

GetSkillIcon() 공개 메소드

public GetSkillIcon ( ) : Sprite
리턴 Sprite

GetSkillLevel() 공개 메소드

public GetSkillLevel ( ) : SkillLevel
리턴 SkillLevel

GetSkillName() 공개 메소드

public GetSkillName ( ) : string
리턴 string

SetBaseValues() 공개 메소드

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
리턴 void

SetCoolDown() 공개 메소드

public SetCoolDown ( float value ) : void
value float
리턴 void

SetSkillAudioClip() 공개 메소드

public SetSkillAudioClip ( AudioClip audio ) : void
audio AudioClip
리턴 void

SetSkillIcon() 공개 메소드

public SetSkillIcon ( Sprite icon ) : void
icon Sprite
리턴 void

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void

UseSkill() 공개 메소드

public UseSkill ( GameObject caller, GameObject target = null, System optionalParameters = null ) : void
caller GameObject
target GameObject
optionalParameters System
리턴 void

addLevel() 공개 메소드

public addLevel ( ) : void
리턴 void

프로퍼티 상세

augment 공개적으로 프로퍼티

public Augment augment
리턴 Augment

coolDown 보호되어 있는 프로퍼티

protected float coolDown
리턴 float

coolDownTimer 보호되어 있는 프로퍼티

protected float coolDownTimer
리턴 float

level 보호되어 있는 프로퍼티

protected int level
리턴 int

manaCost 보호되어 있는 프로퍼티

protected int manaCost
리턴 int

price 보호되어 있는 프로퍼티

protected int price
리턴 int

skillType 공개적으로 프로퍼티

public Type skillType
리턴 Type

useSkillAudio 공개적으로 프로퍼티

public AudioClip useSkillAudio
리턴 AudioClip

value 공개적으로 프로퍼티

public float value
리턴 float