C# Class Example2Actor, Fluent-State-Machine

Inheritance: MonoBehaviour
Datei anzeigen Open project: Real-Serious-Games/Fluent-State-Machine

Public Properties

Property Type Description
goal Transform

Public Methods

Method 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 method

Tell our state machine that the target has been reached once we hit the trigger
public OnTriggerEnter ( Collider collider ) : void
collider Collider
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

goal public_oe property

Goal to move towards
public Transform goal
return Transform