Exemplo n.º 1
0
        public void ProcessSnapshot(int objectId, Vector3 objectPosition, Quaternion rotation, double timeStamp)
        {
            Debug.Log("Received Snapshot");
            BallController ballCont = _balls.Find(ball => ball.GetBall().ObjectId.Equals(objectId));

            if (ballCont != null)
            {
                ballCont.ApplySnapshot(timeStamp, objectPosition + new Vector3(1, 1, 1));
            }
        }