コード例 #1
0
    public override void OnPlayerLeftRoom(Player player)
    {
        cp.RemovePlayerList(player.NickName);
        GameObject go = Instantiate(feedText_Prefab, new Vector2(0f, 0f), Quaternion.identity);

        go.transform.SetParent(feedbox.transform);
        go.GetComponent <Text>().text = player.NickName + " has left the game";
        Destroy(go, 3);
    }