コード例 #1
0
ファイル: PlayerManager.cs プロジェクト: ehuaa/NetEase
    public void OtherPlayerDie(MsgSCPlayerDie msg)
    {
        if (playerArray.ContainsKey(msg.userID) == false)
        {
            return;
        }

        GameObject            obj = this.playerArray[msg.userID];
        OtherPlayerController opc = obj.GetComponent <OtherPlayerController>();

        opc.Death();
    }