PunTeamsおよびPlayerクラスに使用される拡張機能。 プレイヤーのカスタムプロパティへのアクセスをラップします。 More...
Static Public Member Functions | |
static PhotonTeam | GetPhotonTeam (this Player player) |
プレイヤーが現在参加しているチームを取得します。ない場合はnull。 More... | |
static bool | JoinTeam (this Player player, PhotonTeam team) |
チームに参加。 More... | |
static bool | JoinTeam (this Player player, byte teamCode) |
チームコードを使用してチームに参加。 More... | |
static bool | JoinTeam (this Player player, string teamName) |
チーム名を使用してチームに参加。 More... | |
static bool | SwitchTeam (this Player player, PhotonTeam team) |
そのプレイヤーのチームをあなたが割り当てたチームに切り替えます。 More... | |
static bool | SwitchTeam (this Player player, byte teamCode) |
チームコードを使用してプレイヤーのチームを切り替えます。 More... | |
static bool | SwitchTeam (this Player player, string teamName) |
チーム名を使用してプレイヤーのチームを切り替えます。 More... | |
static bool | LeaveCurrentTeam (this Player player) |
存在する場合、現在のチームを去る。 More... | |
static bool | TryGetTeamMates (this Player player, out Player[] teamMates) |
チームメイトの取得を試みる。 More... | |
PunTeamsおよびPlayerクラスに使用される拡張機能。 プレイヤーのカスタムプロパティへのアクセスをラップします。
|
static |
プレイヤーが現在参加しているチームを取得します。ない場合はnull。
|
static |
チームに参加。
player | チームに参加するプレイヤー。 |
team | 参加するチーム。 |
|
static |
チームコードを使用してチームに参加。
player | チームに参加するプレイヤー。 |
teamCode | The code fo 参加するチーム。 |
|
static |
チーム名を使用してチームに参加。
player | チームに参加するプレイヤー。 |
teamName | 参加するチームの名前。 |
|
static |
存在する場合、現在のチームを去る。
player |
|
static |
そのプレイヤーのチームをあなたが割り当てたチームに切り替えます。
このプレイヤーが既にそのチームに所属しているかどうかを内部的に確認します。チームの切り替えのみが実際に送信されます。
player | |
team |
|
static |
チームコードを使用してプレイヤーのチームを切り替えます。
このプレイヤーが既にそのチームに所属しているかどうかを内部的に確認します。
player | チームを切り替えるプレイヤー。 |
teamCode | 切り替えるチームのコード。 |
|
static |
チーム名を使用してプレイヤーのチームを切り替えます。
このプレイヤーが既にそのチームに所属しているかどうかを内部的に確認します。
player | チームを切り替えるプレイヤー。 |
teamName | 切り替えるチームの名前 |