C# 클래스 WeaponSystem, Unity3D-Space-Shooter-Game

상속: GenericSystem
파일 보기 프로젝트 열기: emir01/Unity3D-Space-Shooter-Game 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultWeapon GameObject
LoadedAmmo GameObject

공개 메소드들

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

비공개 메소드들

메소드 설명
ChangeWeapon ( string weaponName ) : void
FireWeaponSystem ( ) : IEnumerator

The actual method that handles the shooting of the currently selected weapon with the currently selected ammo

HandleWeaponSwitch ( ) : void

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

DefaultWeapon 공개적으로 프로퍼티

public GameObject DefaultWeapon
리턴 GameObject

LoadedAmmo 공개적으로 프로퍼티

public GameObject LoadedAmmo
리턴 GameObject