C# Class MLAgentsExamples.TargetContact

Inheritance: MonoBehaviour
Exibir arquivo Open project: schmitzmelissa/unity-ml-penguins

Public Methods

Method Description
OnCollisionEnter ( Collision col ) : void

Check for collision with a target.

OnCollisionExit ( Collision other ) : void

Check for end of ground collision and reset flag appropriately.

Method Details

OnCollisionEnter() public method

Check for collision with a target.
public OnCollisionEnter ( Collision col ) : void
col Collision
return void

OnCollisionExit() public method

Check for end of ground collision and reset flag appropriately.
public OnCollisionExit ( Collision other ) : void
other Collision
return void