C# Class StunningProjectile, gamejam14

Inheritance: MonoBehaviour
Datei anzeigen 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_oe property

public float BulletSpeed
return float

Damage public_oe property

public int Damage
return int

MaxDistance public_oe property

public float MaxDistance
return float

StunningTime public_oe property

public float StunningTime
return float