C# Класс ProxyPlayer, GameProject

This implemtation of AbstractPlayer is for the Proxy version of the Player (the 'other' players in the scene). Its functions mostly just send Bolt events to eventually call the same functions on the corresponding OwnerPlayer.
Наследование: AbstractPlayer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Die ( string killer, int weaponID ) : void
MoveTo ( Vector3 position, Quaternion rotation ) : void
RespawnAt ( Vector3 position, Quaternion rotation ) : void
TakeDamage ( float Damage, string attackerName, Vector3 direction, int weaponID ) : void

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

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

public Die ( string killer, int weaponID ) : void
killer string
weaponID int
Результат void

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

public MoveTo ( Vector3 position, Quaternion rotation ) : void
position Vector3
rotation Quaternion
Результат void

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

public RespawnAt ( Vector3 position, Quaternion rotation ) : void
position Vector3
rotation Quaternion
Результат void

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

public TakeDamage ( float Damage, string attackerName, Vector3 direction, int weaponID ) : void
Damage float
attackerName string
direction Vector3
weaponID int
Результат void