C# Class Targetting, HackAndSlash

Inheritance: MonoBehaviour
Afficher le fichier Open project: MrPhil/HackAndSlash Class Usage Examples

Méthodes publiques

Свойство Type Description
selectedTarget Transform
targets List

Méthodes publiques

Méthode Description
AddAllEnemies ( ) : void
AddTarget ( Transform enemy ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
DeSelectTarget ( ) : void
SelectTarget ( ) : void
SortTargetsByDistance ( ) : void
TargetEnemy ( ) : void

Method Details

AddAllEnemies() public méthode

public AddAllEnemies ( ) : void
Résultat void

AddTarget() public méthode

public AddTarget ( Transform enemy ) : void
enemy Transform
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

selectedTarget public_oe property

public Transform selectedTarget
Résultat Transform

targets public_oe property

public List targets
Résultat List