Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     Debug.Log("Serizable with is mine = " + photonView.isMine);
     if (!photonView.isMine) // && !boatManager.IsSwing
     {
         boatManager.ApplyIndexSpot(currentSpot, false);
         hookTrans.position = Vector3.Lerp(hookTrans.position, correctPosHook, Time.deltaTime * 5);
         hookTrans.rotation = Quaternion.Lerp(hookTrans.rotation, correctRotateHook, Time.deltaTime * 5);
     }
 }