C# Class Example2Actor, Fluent-State-Machine

Inheritance: MonoBehaviour
Show file 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 property

Goal to move towards
public Transform goal
return Transform