C# Class ProximityConstantShootBehaviour, SlashRunner

Shooting behaviour that constantly shoots the attached Shooter every frame iff the target is close enough.
Inheritance: MonoBehaviour
显示文件 Open project: matthewAURA/SlashRunner

Public Properties

Property Type Description
activateDistance double
target GameObject

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

activateDistance public_oe property

Distance from the target at which the components activate
public double activateDistance
return double

target public_oe property

Components activate when target is close enough
public GameObject target
return GameObject