C# Class ProximityConstantShootBehaviour, SlashRunner

Shooting behaviour that constantly shoots the attached Shooter every frame iff the target is close enough.
Inheritance: MonoBehaviour
Afficher le fichier Open project: matthewAURA/SlashRunner

Méthodes publiques

Свойство Type Description
activateDistance double
target GameObject

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

activateDistance public_oe property

Distance from the target at which the components activate
public double activateDistance
Résultat double

target public_oe property

Components activate when target is close enough
public GameObject target
Résultat GameObject