C# Class UnityPlatformer.RopeSection

Inheritance: BoxTileTrigger
Mostrar archivo Open project: llafuente/unity-platformer Class Usage Examples

Public Properties

Property Type Description
index int
rope Rope

Public Methods

Method Description
CharacterEnter ( Character p ) : void
CharacterExit ( Character p ) : void
Dismount ( Character p ) : void

Dismount rope

GetBottom ( ) : Vector3

Get real-world-coordinates bottom

GetCenter ( ) : Vector3

Get real-world-coordinates center

GetPositionInSection ( float position ) : Vector3

Get real-world-coordinates position given the position in the section from 0 to 1

GetTop ( ) : Vector3

Get real-world-coordinates top

Method Details

CharacterEnter() public method

public CharacterEnter ( Character p ) : void
p Character
return void

CharacterExit() public method

public CharacterExit ( Character p ) : void
p Character
return void

Dismount() public method

Dismount rope
public Dismount ( Character p ) : void
p Character
return void

GetBottom() public method

Get real-world-coordinates bottom
public GetBottom ( ) : Vector3
return UnityEngine.Vector3

GetCenter() public method

Get real-world-coordinates center
public GetCenter ( ) : Vector3
return UnityEngine.Vector3

GetPositionInSection() public method

Get real-world-coordinates position given the position in the section from 0 to 1
public GetPositionInSection ( float position ) : Vector3
position float
return UnityEngine.Vector3

GetTop() public method

Get real-world-coordinates top
public GetTop ( ) : Vector3
return UnityEngine.Vector3

Property Details

index public_oe property

Index in the rope
public int index
return int

rope public_oe property

Rope where this belong
public Rope,UnityPlatformer rope
return Rope