Пример #1
0
 public void Attatch()
 {
     audioS.PlayFittingTogether();
     attatched = true;
     glued     = false;
     GetComponent <Rigidbody>().transform.parent = savedParent;
     rb.isKinematic          = true;
     rb.velocity             = new Vector3(0, 0, 0);
     transform.position      = attatchedPosition;
     transform.localRotation = Quaternion.Euler(0, 0, 0);
     inPlace = true;
     playerS.IncreaseRemaining();
 }