C# Class UnityPlatformer.RopeSection

Inheritance: BoxTileTrigger
Afficher le fichier Open project: llafuente/unity-platformer Class Usage Examples

Méthodes publiques

Свойство Type Description
index int
rope Rope

Méthodes publiques

Méthode 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 méthode

public CharacterEnter ( Character p ) : void
p Character
Résultat void

CharacterExit() public méthode

public CharacterExit ( Character p ) : void
p Character
Résultat void

Dismount() public méthode

Dismount rope
public Dismount ( Character p ) : void
p Character
Résultat void

GetBottom() public méthode

Get real-world-coordinates bottom
public GetBottom ( ) : Vector3
Résultat UnityEngine.Vector3

GetCenter() public méthode

Get real-world-coordinates center
public GetCenter ( ) : Vector3
Résultat UnityEngine.Vector3

GetPositionInSection() public méthode

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

GetTop() public méthode

Get real-world-coordinates top
public GetTop ( ) : Vector3
Résultat UnityEngine.Vector3

Property Details

index public_oe property

Index in the rope
public int index
Résultat int

rope public_oe property

Rope where this belong
public Rope,UnityPlatformer rope
Résultat Rope