Polarith AI
1.8

◆ Reset()

override void Reset ( )
protected

Reset to default values.

Adapts the PlanarAvoid.Up vector according to the VectorProjectionType of the behaviour.

Reset is called when the user hits the Reset button in the Inspector's context menu or when adding the component the first time. This function is only called in editor mode. Reset is most commonly used to give good default values in the inspector.

Imprint