C# Class WebShooter, WorldsofREM

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

Public Properties

Property Type Description
gravity float
groundDamping float
inAirDamping float
playTimer float
runSpeed float
shotCooldown float
shotTimer float
webBulletPrefab GameObject

Public Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void
onControllerCollider ( RaycastHit2D hit ) : void
onTriggerEnterEvent ( Collider2D col ) : void
onTriggerExitEvent ( Collider2D col ) : void
shootWeb ( float direction ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

onControllerCollider() public method

public onControllerCollider ( RaycastHit2D hit ) : void
hit UnityEngine.RaycastHit2D
return void

onTriggerEnterEvent() public method

public onTriggerEnterEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

onTriggerExitEvent() public method

public onTriggerExitEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

shootWeb() public method

public shootWeb ( float direction ) : void
direction float
return void

Property Details

gravity public_oe property

public float gravity
return float

groundDamping public_oe property

public float groundDamping
return float

inAirDamping public_oe property

public float inAirDamping
return float

playTimer public_oe property

public float playTimer
return float

runSpeed public_oe property

public float runSpeed
return float

shotCooldown public_oe property

public float shotCooldown
return float

shotTimer public_oe property

public float shotTimer
return float

webBulletPrefab public_oe property

public GameObject webBulletPrefab
return GameObject