C# 클래스 ProjectileMissile, SpaceCOG-Prototype

상속: MonoBehaviour
파일 보기 프로젝트 열기: kalby/SpaceCOG-Prototype

공개 프로퍼티들

프로퍼티 타입 설명
damage int
explodeAnimation GameObject
missileLaunchSpeed float
points int
range float

공개 메소드들

메소드 설명
FixedUpdate ( ) : void
OnTriggerEnter ( Collider collidedWith ) : void
OnTriggerExit ( Collider other ) : void
SetPlayer ( GameObject player ) : void
SetRange ( float newRange ) : void
Start ( ) : void
Update ( ) : void
acquireTarget ( ) : void

비공개 메소드들

메소드 설명
PlayClipAt ( AudioClip clip, Vector3 pos ) : AudioSource

메소드 상세

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

OnTriggerEnter() 공개 메소드

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

OnTriggerExit() 공개 메소드

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

SetPlayer() 공개 메소드

public SetPlayer ( GameObject player ) : void
player GameObject
리턴 void

SetRange() 공개 메소드

public SetRange ( float newRange ) : void
newRange float
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

acquireTarget() 공개 메소드

public acquireTarget ( ) : void
리턴 void

프로퍼티 상세

damage 공개적으로 프로퍼티

public int damage
리턴 int

explodeAnimation 공개적으로 프로퍼티

public GameObject explodeAnimation
리턴 GameObject

missileLaunchSpeed 공개적으로 프로퍼티

public float missileLaunchSpeed
리턴 float

points 공개적으로 프로퍼티

public int points
리턴 int

range 공개적으로 프로퍼티

public float range
리턴 float