C# 클래스 Projectile, Castle-Bashers

상속: MonoBehaviour
파일 보기 프로젝트 열기: DevelopersGuild/Castle-Bashers 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TimeToLive float
destroyOnCollision bool
destroyedParticle GameObject
destroyedSound AudioClip
projectileSpeed float

공개 메소드들

메소드 설명
Shoot ( Vector3 dir ) : void
Start ( ) : void

메소드 상세

Shoot() 공개 메소드

public Shoot ( Vector3 dir ) : void
dir Vector3
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

TimeToLive 공개적으로 프로퍼티

public float TimeToLive
리턴 float

destroyOnCollision 공개적으로 프로퍼티

public bool destroyOnCollision
리턴 bool

destroyedParticle 공개적으로 프로퍼티

public GameObject destroyedParticle
리턴 GameObject

destroyedSound 공개적으로 프로퍼티

public AudioClip destroyedSound
리턴 AudioClip

projectileSpeed 공개적으로 프로퍼티

public float projectileSpeed
리턴 float