C# 클래스 GenericGem, angrygoats

Purpose: A class to control the generic behaviour of all gems and their interations
상속: MonoBehaviour
파일 보기 프로젝트 열기: dulb640/angrygoats 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
boltMaterial Material
cost int
damage int
duration int
isCurrent bool
staffMaterial Material
staffParticles Material

보호된 프로퍼티들

프로퍼티 타입 설명
anim Animator
endTime float
player GameObject
playerControl PlayerControl,
shot GameObject
shotSpawn Transform

공개 메소드들

메소드 설명
Start ( ) : void
castAnimation ( ) : void
onEnemyHit ( GameObject other ) : void

보호된 메소드들

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

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void

castAnimation() 공개 메소드

public castAnimation ( ) : void
리턴 void

doEffect() 보호된 메소드

protected doEffect ( ) : void
리턴 void

onEnemyHit() 공개 메소드

public onEnemyHit ( GameObject other ) : void
other GameObject
리턴 void

프로퍼티 상세

anim 보호되어 있는 프로퍼티

protected Animator anim
리턴 Animator

boltMaterial 공개적으로 프로퍼티

public Material boltMaterial
리턴 Material

cost 공개적으로 프로퍼티

public int cost
리턴 int

damage 공개적으로 프로퍼티

public int damage
리턴 int

duration 공개적으로 프로퍼티

public int duration
리턴 int

endTime 보호되어 있는 프로퍼티

protected float endTime
리턴 float

isCurrent 공개적으로 프로퍼티

public bool isCurrent
리턴 bool

player 보호되어 있는 프로퍼티

protected GameObject player
리턴 GameObject

playerControl 보호되어 있는 프로퍼티

protected PlayerControl, playerControl
리턴 PlayerControl,

shot 보호되어 있는 프로퍼티

protected GameObject shot
리턴 GameObject

shotSpawn 보호되어 있는 프로퍼티

protected Transform shotSpawn
리턴 Transform

staffMaterial 공개적으로 프로퍼티

public Material staffMaterial
리턴 Material

staffParticles 공개적으로 프로퍼티

public Material staffParticles
리턴 Material