C# Class EnemySplineController, wepwep

Inheritance: SplineController
Afficher le fichier Open project: encephalopathy/wepwep Class Usage Examples

Méthodes publiques

Свойство Type Description
OnSplineSwapped SplineSwappedEventHandler
SpawnGroup GameObject[]
Speeds float[]

Méthodes publiques

Méthode Description
DisableNodeObjects ( ) : void

Disables the spline objects, we don't need them outside design-time.

FollowSpline ( OnPathEndCallback endCallback, OnNodeArrivalCallback nodeCallback1, OnNodeLeavingCallback nodeCallback2 ) : void
SetSpline ( int splineNum ) : void
Start ( ) : void
Update ( ) : void

Méthodes protégées

Méthode Description
DrawGoKitSplineController ( ) : void
OnStart ( ) : void
SetupSplineInterpolator ( SplineInterpolator, interp, SplineNode, ninfo ) : void

Private Methods

Méthode Description
ChangeGizmoColor ( int i ) : void

Method Details

DisableNodeObjects() public méthode

Disables the spline objects, we don't need them outside design-time.
public DisableNodeObjects ( ) : void
Résultat void

DrawGoKitSplineController() protected méthode

protected DrawGoKitSplineController ( ) : void
Résultat void

FollowSpline() public méthode

public FollowSpline ( OnPathEndCallback endCallback, OnNodeArrivalCallback nodeCallback1, OnNodeLeavingCallback nodeCallback2 ) : void
endCallback OnPathEndCallback
nodeCallback1 OnNodeArrivalCallback
nodeCallback2 OnNodeLeavingCallback
Résultat void

OnStart() protected méthode

protected OnStart ( ) : void
Résultat void

SetSpline() public méthode

public SetSpline ( int splineNum ) : void
splineNum int
Résultat void

SetupSplineInterpolator() protected méthode

protected SetupSplineInterpolator ( SplineInterpolator, interp, SplineNode, ninfo ) : void
interp SplineInterpolator,
ninfo SplineNode,
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

OnSplineSwapped public_oe property

public SplineSwappedEventHandler OnSplineSwapped
Résultat SplineSwappedEventHandler

SpawnGroup public_oe property

The spawn group: A colection of splines that make up which enemy flights paths that this game object can switch to.
public GameObject[] SpawnGroup
Résultat GameObject[]

Speeds public_oe property

public float[] Speeds
Résultat float[]