C# Class StunningProjectile, gamejam14

Inheritance: MonoBehaviour
Show file Open project: TeamLativa/gamejam14

Public Properties

Property Type Description
BulletSpeed float
Damage int
MaxDistance float
StunningTime float

Public Methods

Method Description
Collision ( GameObject col ) : void
OnTriggerEnter2D ( Collider2D col ) : void
Start ( ) : void
Update ( ) : void

Method Details

Collision() public method

public Collision ( GameObject col ) : void
col GameObject
return void

OnTriggerEnter2D() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

BulletSpeed public property

public float BulletSpeed
return float

Damage public property

public int Damage
return int

MaxDistance public property

public float MaxDistance
return float

StunningTime public property

public float StunningTime
return float