C# 클래스 SpellEffect, UnderworldExporter

Spell effects modify how the spell behaves. For example the missile motor will control how the spell will move through space while the beam motor will raycast a beam through world space. Spell effects are intended to be drivers for the actual spell and will not execute spell logic.
상속: MonoBehaviour
파일 보기 프로젝트 열기: hankmorgan/UnderworldExporter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Active bool
EffectID int
Permanent bool
TickTime int
Value int
counter int

공개 메소드들

메소드 설명
ApplyEffect ( ) : void

Applies the effect.

CancelEffect ( ) : void

End the effect. By default it will destroy this spell effect.

EffectIcon ( ) : int

Returns the icon index no for this effect

EffectOverTime ( ) : void

Code to apply the periodic changes to the effect. Eg poison drains health, staged effects.

Go ( ) : void

Starts the spell effect.

SetPermanent ( bool NewVal ) : void

Makes the spell effect permanent.

getSpellDescription ( ) : string

Describes the spell and how stable the spell is.

timer ( ) : IEnumerator

Timer loop for the effect.

메소드 상세

ApplyEffect() 공개 메소드

Applies the effect.
public ApplyEffect ( ) : void
리턴 void

CancelEffect() 공개 메소드

End the effect. By default it will destroy this spell effect.
public CancelEffect ( ) : void
리턴 void

EffectIcon() 공개 메소드

Returns the icon index no for this effect
public EffectIcon ( ) : int
리턴 int

EffectOverTime() 공개 메소드

Code to apply the periodic changes to the effect. Eg poison drains health, staged effects.
public EffectOverTime ( ) : void
리턴 void

Go() 공개 메소드

Starts the spell effect.
public Go ( ) : void
리턴 void

SetPermanent() 공개 메소드

Makes the spell effect permanent.
public SetPermanent ( bool NewVal ) : void
NewVal bool
리턴 void

getSpellDescription() 공개 메소드

Describes the spell and how stable the spell is.
public getSpellDescription ( ) : string
리턴 string

timer() 공개 메소드

Timer loop for the effect.
public timer ( ) : IEnumerator
리턴 IEnumerator

프로퍼티 상세

Active 공개적으로 프로퍼티

public bool Active
리턴 bool

EffectID 공개적으로 프로퍼티

public int EffectID
리턴 int

Permanent 공개적으로 프로퍼티

public bool Permanent
리턴 bool

TickTime 공개적으로 프로퍼티

public int TickTime
리턴 int

Value 공개적으로 프로퍼티

public int Value
리턴 int

counter 공개적으로 프로퍼티

public int counter
리턴 int