C# Class ZombieAPI.Portal

The Portal utilty class enables you to easily teleport players to a certain location when they step into a certain area
Mostrar archivo Open project: jariz/jZm Class Usage Examples

Public Methods

Method Description
Portal ( float X, float Y, float Radius ) : System

The Portal utilty class enables you to easily teleport players to a certain location when they step into a certain area

Portal ( float X, float Y, float Radius, bool Teleport, float Destination ) : System

The Portal utilty class enables you to easily teleport players to a certain location when they step into a certain area

Private Methods

Method Description
trigger ( Portal p, GameObjects pp ) : void

Method Details

Portal() public method

The Portal utilty class enables you to easily teleport players to a certain location when they step into a certain area
public Portal ( float X, float Y, float Radius ) : System
X float The X coordinate that'll be used as location of the portal
Y float The Y coordinate that'll be used as location of the portal
Radius float The radius (area) the player needs to get in to be teleported
return System

Portal() public method

The Portal utilty class enables you to easily teleport players to a certain location when they step into a certain area
public Portal ( float X, float Y, float Radius, bool Teleport, float Destination ) : System
X float The X coordinate that'll be used as location of the portal
Y float The Y coordinate that'll be used as location of the portal
Radius float The radius (area) the player needs to get in to be teleported
Teleport bool Will the player get teleported to once triggered?
Destination float A Vec3 (float array with 3 values) that specifies where players will be teleported into.
return System