C# 클래스 ProjectStorms.AirshipSuicideBehaviour

This ship determines how the ship moves once the player has decided to "commit suicide" and play as a kamikaze 'fire ship'. Compared to regular movement, this time the airship controls like a missile - the player has less control.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: patferguson/Storms-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
airshipMainCam AirshipCamBehaviour
animThrottleMult float
boostRumbleDurr float
boostRumbleStr float
fireShipParticles UnityEngine.GameObject
pitchForce float
yawForce float

공개 메소드들

메소드 설명
Awake ( ) : void
ClampInputs ( ) : void

Clamps the input values into the [-1, 1] range.

FixedUpdate ( ) : void
PlayerFireshipInputs ( float a_Vertical, float a_Horizontal, bool a_select ) : void
ResetTimer ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CalculateTorque ( ) : void

Calculates the rotation forces on the ship, see the standard assets example for more.

Rocket ( ) : void

Moves the player's ship forward with the rocket speed.

SelectButtonReleased ( ) : bool

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

ClampInputs() 공개 메소드

Clamps the input values into the [-1, 1] range.
public ClampInputs ( ) : void
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

PlayerFireshipInputs() 공개 메소드

public PlayerFireshipInputs ( float a_Vertical, float a_Horizontal, bool a_select ) : void
a_Vertical float
a_Horizontal float
a_select bool
리턴 void

ResetTimer() 공개 메소드

public ResetTimer ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

airshipMainCam 공개적으로 프로퍼티

Handle to the airship camera script.
public AirshipCamBehaviour,ProjectStorms airshipMainCam
리턴 AirshipCamBehaviour

animThrottleMult 공개적으로 프로퍼티

Percentage of the base propeller animation speed to apply when moving.
public float animThrottleMult
리턴 float

boostRumbleDurr 공개적으로 프로퍼티

How long to rumble for.
public float boostRumbleDurr
리턴 float

boostRumbleStr 공개적으로 프로퍼티

How strong to rumble.
public float boostRumbleStr
리턴 float

fireShipParticles 공개적으로 프로퍼티

public GameObject,UnityEngine fireShipParticles
리턴 UnityEngine.GameObject

pitchForce 공개적으로 프로퍼티

public float pitchForce
리턴 float

yawForce 공개적으로 프로퍼티

public float yawForce
리턴 float