platformer
|
Internal Behaviour to create ropes. More...
Public Member Functions | |
virtual Vector3 | GetTop () |
Get real-world-coordinates top More... | |
virtual Vector3 | GetBottom () |
Get real-world-coordinates bottom More... | |
override Vector3 | GetCenter () |
Get real-world-coordinates center More... | |
virtual Vector3 | GetPositionInSection (float position) |
Get real-world-coordinates position given the position in the section from 0 to 1 More... | |
override void | CharacterEnter (Character p) |
Add character to the list More... | |
virtual void | Dismount (Character p) |
Dismount rope More... | |
override void | CharacterExit (Character p) |
Remove character from the list More... | |
![]() | |
override void | Start () |
Force BoxCollider2D to be trigger using: Utils.KinematicTrigger and initialize character list More... | |
virtual void | OnDestroy () |
exit all player More... | |
virtual void | CharacterStay (Character p) |
Do nothing More... | |
virtual void | OnTriggerEnter2D (Collider2D o) |
if Hitbox with EnterAreas enter -> CharacterEnter More... | |
virtual void | OnTriggerExit2D (Collider2D o) |
if Hitbox with EnterAreas leave -> CharacterExit More... | |
virtual void | OnTriggerStay2D (Collider2D o) |
if Hitbox with EnterAreas leave -> CharacterExit More... | |
Public Attributes | |
int | index |
Index in the rope More... | |
Rope | rope |
Rope where this belong More... | |
![]() | |
BoxCollider2D | body |
cached BoxCollider2D component More... | |
Character [] | characters |
List of character in the Tile More... | |
int | charCount |
How many character are in the Tile More... | |
![]() | |
bool | debug = false |
Display collider as flat color More... | |
Internal Behaviour to create ropes.
|
inlinevirtual |
Add character to the list
Reimplemented from UnityPlatformer.BoxTileTrigger.
|
inlinevirtual |
Remove character from the list
Reimplemented from UnityPlatformer.BoxTileTrigger.
|
inlinevirtual |
Dismount rope
|
inlinevirtual |
Get real-world-coordinates bottom
|
inlinevirtual |
Get real-world-coordinates center
Reimplemented from UnityPlatformer.BoxTileTrigger.
|
inlinevirtual |
Get real-world-coordinates position given the position in the section from 0 to 1
|
inlinevirtual |
Get real-world-coordinates top
int UnityPlatformer.RopeSection.index |
Index in the rope