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
|
Method | Description | |
---|---|---|
trigger ( |
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 |
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 |
Destination | float | A Vec3 (float array with 3 values) that specifies where players will be teleported into. |
return | System |