Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ProximityConstantShootBehaviour
C# Class ProximityConstantShootBehaviour, SlashRunner
Shooting behaviour that constantly shoots the attached Shooter every frame iff the target is close enough.
Inheritance:
MonoBehaviour
Show file
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 property
Distance from the target at which the components activate
public
double
activateDistance
return
double
target
public property
Components activate when target is close enough
public
GameObject
target
return
GameObject