C# Class GrappleGun, GameProject

Inheritance: MonoBehaviour
Show file 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 property

public float beamSpeed
return float

grappleFireSound public property

public AudioSource,UnityEngine grappleFireSound
return UnityEngine.AudioSource

grappleHitInfo public property

public RaycastHit,UnityEngine grappleHitInfo
return UnityEngine.RaycastHit

grappleTo public property

public LayerMask grappleTo
return LayerMask

maxDistance public property

public float maxDistance
return float

maxReelMultiplier public property

public int maxReelMultiplier
return int

reelSpeed public property

public float reelSpeed
return float

stabilizer public property

public float stabilizer
return float