Table of Contents

Class ConnectedControlPointsSelector

A class used by SplineController to define custom selection logic to select between the possible connected splines when the controller reaches a CurvyConnection

public abstract class ConnectedControlPointsSelector : DTVersionedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
ConnectedControlPointsSelector

Methods

SelectConnectedControlPoint(SplineController, CurvyConnection, CurvySplineSegment)

Select, from the current connection, a Control Point to continue moving through.

public abstract CurvySplineSegment SelectConnectedControlPoint(SplineController caller, CurvyConnection connection, CurvySplineSegment currentControlPoint)

Parameters

caller SplineController

The spline controller that is calling this selector

connection CurvyConnection

The connection the caller reached and from which it needs to select a Control Point to continue the movement on

currentControlPoint CurvySplineSegment

the Control Point, part of the connection, the controller is at.

Returns

CurvySplineSegment

The control point that the should continue its movement on