C# Класс ZombieAPI.Portal

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 ) : 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

Приватные методы

Метод Описание
trigger ( Portal p, GameObjects pp ) : void

Описание методов

Portal() публичный Метод

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
Результат System

Portal() публичный Метод

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.
Результат System