Ejemplo n.º 1
0
    void Update()
    {
        if (GetComponent <PlayerMove> ().thisIsMine)
        {
            // Get Input Commands. ALL of them. Turns out stuff like hitscan that causes damage needs to send all this information.

            GetComponent <PlayerMove>().PlayerMoveRun();
            OperationNetwork.CheckForPlayerInputSend();

            // Send data to server.
        }
    }