Rope platform. Attach this to every collider used in a rope. Note that rope colliders must be the child of a rigidbody.
More...
Inherits Rope.
|
| override void | DoStart () |
| | Override and add custom initialisation here. More...
|
| |
| override void | Move () |
| | Override with custom move code. More...
|
| |
|
|
override bool | overrideX [get] |
| |
|
override bool | overrideY [get] |
| |
|
override bool | overrideAnimation [get] |
| |
Rope platform. Attach this to every collider used in a rope. Note that rope colliders must be the child of a rigidbody.
This is called when a platform is hit. Override to implement platform behaviour.
- Parameters
-
| collider | The collider that did the hitting. |
| character | The character that did the hitting. |
Reimplemented from Platform.
| override void RopeCollider.DoStart |
( |
) | |
|
|
protectedvirtual |
Override and add custom initialisation here.
Reimplemented from Platform.
Gets the animation for the character. Only called if you have set overrideAnimation to true.
- Returns
- The animation state.
Reimplemented from Platform.
| override void RopeCollider.Move |
( |
) | |
|
|
protectedvirtual |
Override with custom move code.
Reimplemented from Platform.
Does this platform want to have this platform become the characters parent. Used for moving platforms.
- Returns
- Return a transform if you want to reparent the character.
Reimplemented from Platform.
The documentation for this class was generated from the following file:
- /Users/john/Desktop/PC3.5Test/Assets/2DPlatformController/Scripts/Platforms/Ropes/RopeCollider.cs