C# Class Example2Actor, Fluent-State-Machine

Inheritance: MonoBehaviour
Afficher le fichier Open project: Real-Serious-Games/Fluent-State-Machine

Méthodes publiques

Свойство Type Description
goal Transform

Méthodes publiques

Méthode Description
OnTriggerEnter ( Collider collider ) : void

Tell our state machine that the target has been reached once we hit the trigger

Start ( ) : void
Update ( ) : void

Method Details

OnTriggerEnter() public méthode

Tell our state machine that the target has been reached once we hit the trigger
public OnTriggerEnter ( Collider collider ) : void
collider Collider
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

goal public_oe property

Goal to move towards
public Transform goal
Résultat Transform