Свойство | Тип | Описание | |
---|---|---|---|
angleLimits | float | ||
easing | EasingType | ||
onBreakRope | RopeCallback | ||
onSideReached | RopeCallback | ||
passengers | |||
ropeMass | float | ||
sectionPrefab | |||
segmentLength | float | ||
segments | int | ||
stop | bool | ||
usedFixedPosition | bool |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
CreateAnchor ( ) : |
Create Rope anchor
|
|
CreateSection ( int i, |
Create and configure RopeSection
|
|
OnDrawGizmos ( ) : void |
public GetSectionAbove ( |
||
section | ||
Результат |
public GetSectionBelow ( |
||
section | ||
Результат |
public LatePlatformerUpdate ( float delta ) : void | ||
delta | float | |
Результат | void |
public PlatformerUpdate ( float delta ) : void | ||
delta | float | |
Результат | void |
public SpeedToSectionOffset ( float speed ) : float | ||
speed | float | |
Результат | float |
public LayerMask,UnityEngine passengers | ||
Результат |
public GameObject,UnityEngine sectionPrefab | ||
Результат |