C# 클래스 PlayerLogic, wepwep

상속: MonoBehaviour
파일 보기 프로젝트 열기: encephalopathy/wepwep 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
cooldownTime float
currentEnergy float
currentHealth int
energyBarSlider Slider,
energyText Text,
explosion GameObject
healthBarSlider Slider,
healthText Text,
invert int
isFiring bool
isPlayerInvincible bool
maxEnergy float
maxHealth int
maxX float
maxZ float
movementSpeed float
score int

공개 메소드들

메소드 설명
OnCollisionEnter ( Collision theCollision ) : void
OnTriggerEnter ( Collider other ) : void
Start ( ) : void
Update ( ) : void
canFire ( int cost, bool continuousFire ) : bool
doDamage ( int amount ) : void

메소드 상세

OnCollisionEnter() 공개 메소드

public OnCollisionEnter ( Collision theCollision ) : void
theCollision Collision
리턴 void

OnTriggerEnter() 공개 메소드

public OnTriggerEnter ( Collider other ) : void
other Collider
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

canFire() 공개 메소드

public canFire ( int cost, bool continuousFire ) : bool
cost int
continuousFire bool
리턴 bool

doDamage() 공개 메소드

public doDamage ( int amount ) : void
amount int
리턴 void

프로퍼티 상세

cooldownTime 공개적으로 프로퍼티

public float cooldownTime
리턴 float

currentEnergy 공개적으로 프로퍼티

public float currentEnergy
리턴 float

currentHealth 공개적으로 프로퍼티

public int currentHealth
리턴 int

energyBarSlider 공개적으로 프로퍼티

public Slider, energyBarSlider
리턴 Slider,

energyText 공개적으로 프로퍼티

public Text, energyText
리턴 Text,

explosion 공개적으로 프로퍼티

public GameObject explosion
리턴 GameObject

healthBarSlider 공개적으로 프로퍼티

public Slider, healthBarSlider
리턴 Slider,

healthText 공개적으로 프로퍼티

public Text, healthText
리턴 Text,

invert 공개적으로 프로퍼티

public int invert
리턴 int

isFiring 공개적으로 프로퍼티

public bool isFiring
리턴 bool

isPlayerInvincible 공개적으로 프로퍼티

public bool isPlayerInvincible
리턴 bool

maxEnergy 공개적으로 프로퍼티

public float maxEnergy
리턴 float

maxHealth 공개적으로 프로퍼티

public int maxHealth
리턴 int

maxX 공개적으로 프로퍼티

public float maxX
리턴 float

maxZ 공개적으로 프로퍼티

public float maxZ
리턴 float

movementSpeed 공개적으로 프로퍼티

public float movementSpeed
리턴 float

score 공개적으로 프로퍼티

public int score
리턴 int