C# 클래스 EnemyPlayerController, SpaceCOG-Prototype

상속: MonoBehaviour
파일 보기 프로젝트 열기: kalby/SpaceCOG-Prototype 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
fireRate float
health float
lazer GameObject
lazerRange float
lazerSpeed float
shipExplosion GameObject
turrets Transform[]

공개 메소드들

메소드 설명
AddToScore ( int points ) : void
Hit ( int damage ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

AddToScore() 공개 메소드

public AddToScore ( int points ) : void
points int
리턴 void

Hit() 공개 메소드

public Hit ( int damage ) : void
damage int
리턴 void

OnTriggerEnter() 공개 메소드

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

OnTriggerExit() 공개 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

fireRate 공개적으로 프로퍼티

public float fireRate
리턴 float

health 공개적으로 프로퍼티

public float health
리턴 float

lazer 공개적으로 프로퍼티

public GameObject lazer
리턴 GameObject

lazerRange 공개적으로 프로퍼티

public float lazerRange
리턴 float

lazerSpeed 공개적으로 프로퍼티

public float lazerSpeed
리턴 float

shipExplosion 공개적으로 프로퍼티

public GameObject shipExplosion
리턴 GameObject

turrets 공개적으로 프로퍼티

public Transform[] turrets
리턴 Transform[]