C# Class GrappleGun, GameProject

Inheritance: MonoBehaviour
ファイルを表示 Open project: EECS390IndieTeam/GameProject Class Usage Examples

Public Properties

Property Type Description
beamSpeed float
grappleFireSound UnityEngine.AudioSource
grappleHitInfo UnityEngine.RaycastHit
grappleTo LayerMask
maxDistance float
maxReelMultiplier int
reelSpeed float
stabilizer float

Public Methods

Method Description
LateUpdate ( ) : void
Start ( ) : void
Update ( ) : void
detach ( ) : void
drawBeam ( Vector3 to, Vector3 from ) : void
fire ( ) : void
reelIn ( ) : void

Method Details

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

detach() public method

public detach ( ) : void
return void

drawBeam() public method

public drawBeam ( Vector3 to, Vector3 from ) : void
to Vector3
from Vector3
return void

fire() public method

public fire ( ) : void
return void

reelIn() public method

public reelIn ( ) : void
return void

Property Details

beamSpeed public_oe property

public float beamSpeed
return float

grappleFireSound public_oe property

public AudioSource,UnityEngine grappleFireSound
return UnityEngine.AudioSource

grappleHitInfo public_oe property

public RaycastHit,UnityEngine grappleHitInfo
return UnityEngine.RaycastHit

grappleTo public_oe property

public LayerMask grappleTo
return LayerMask

maxDistance public_oe property

public float maxDistance
return float

maxReelMultiplier public_oe property

public int maxReelMultiplier
return int

reelSpeed public_oe property

public float reelSpeed
return float

stabilizer public_oe property

public float stabilizer
return float