Guest User

Untitled

a guest
Jul 6th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. menuInstance = (GameObject) Instantiate(menuPrefab,(hit.transform.position + menuPosOffset), Quaternion.identity);
  2.  
  3. if (menuInstance != null) {
  4.  
  5. conjuntoPivotes = pivot.FindObjectsOfType<pivot> ();
  6. bolaB = GameObject.FindGameObjectWithTag("bolaPuntero");
  7.  
  8. float distancia = Vector3.Distance (conjuntoPivotes [2].transform.position,transform.TransformDirection (bolaB.transform.position));
  9. }
Advertisement
Add Comment
Please, Sign In to add comment