Свойство | Type | Description | |
---|---|---|---|
angleLimits | float | ||
easing | EasingType | ||
onBreakRope | RopeCallback | ||
onSideReached | RopeCallback | ||
passengers | |||
ropeMass | float | ||
sectionPrefab | |||
segmentLength | float | ||
segments | int | ||
stop | bool | ||
usedFixedPosition | bool |
Méthode | Description | |
---|---|---|
BreakRope ( ) : void |
Break the rope and stop movement TODO break do not destroy sections
|
|
GetSectionAbove ( |
Gets the rope section above the provided one or null if none.
|
|
GetSectionBelow ( |
Gets the rope section below the provided one or null if none.
|
|
LatePlatformerUpdate ( float delta ) : void |
Do nothing, use PlatformerUpdate instead
|
|
OnDisable ( ) : void |
notify UpdateManager
|
|
OnEnable ( ) : void |
notify UpdateManager
|
|
OnValidate ( ) : void |
Update the rope on each editor change...
|
|
PlatformerUpdate ( float delta ) : void |
Rope motion!
|
|
SpeedToSectionOffset ( float speed ) : float |
Conversion factor
|
|
Start ( ) : void | ||
UpdateRotation ( ) : void |
Update rope rotation, this is called PlatformerUpdate if you need to called it outside, remember that time must be updated before
|
Méthode | Description | |
---|---|---|
CreateAnchor ( ) : |
Create Rope anchor
|
|
CreateSection ( int i, |
Create and configure RopeSection
|
|
OnDrawGizmos ( ) : void |
public GetSectionAbove ( |
||
section | ||
Résultat |
public GetSectionBelow ( |
||
section | ||
Résultat |
public LatePlatformerUpdate ( float delta ) : void | ||
delta | float | |
Résultat | void |
public PlatformerUpdate ( float delta ) : void | ||
delta | float | |
Résultat | void |
public SpeedToSectionOffset ( float speed ) : float | ||
speed | float | |
Résultat | float |
public LayerMask,UnityEngine passengers | ||
Résultat |
public GameObject,UnityEngine sectionPrefab | ||
Résultat |