예제 #1
0
    /**
     * listNames- lists all players currently on the server.
     */
    void listNames()
    {
        string names = playerManager.listNames();

        transform.parent.FindChild("ChatWindow").GetComponent <PhotonView> ()
        .RPC("addMessage", PhotonTargets.All, names);
    }