Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.Rope Class Reference

Attached to the top level of a rope object. More...

Inheritance diagram for PlatformerPro.Rope:

Public Member Functions

virtual RopeSection GetSectionAbove (RopeSection section)
 Gets the rope section above the provided one or null if none. More...
 
virtual RopeSection GetSectionBelow (RopeSection section)
 Gets the rope section below the provided one or null if none. More...
 

Protected Member Functions

virtual void Init ()
 Init this instance. More...
 

Protected Attributes

List< RopeSectionsections
 Ordered list of the sections of rope taht make up this rope. More...
 

Detailed Description

Attached to the top level of a rope object.

Member Function Documentation

◆ GetSectionAbove()

virtual RopeSection PlatformerPro.Rope.GetSectionAbove ( RopeSection  section)
virtual

Gets the rope section above the provided one or null if none.

Returns
The section below.

◆ GetSectionBelow()

virtual RopeSection PlatformerPro.Rope.GetSectionBelow ( RopeSection  section)
virtual

Gets the rope section below the provided one or null if none.

Returns
The section below.

◆ Init()

virtual void PlatformerPro.Rope.Init ( )
protectedvirtual

Init this instance.

Member Data Documentation

◆ sections

List<RopeSection> PlatformerPro.Rope.sections
protected

Ordered list of the sections of rope taht make up this rope.


The documentation for this class was generated from the following file: