Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. public Transform granadeSpawner;    //assign the position via editor drag and drop
  2.  
  3. or
  4. public Transform mythingie;
  5. mythingie = GameObject.Find("mythingie").GetComponent<Transform>();
  6.  
  7. and to assign my thingie position to another object u do
  8.  
  9. transform.position = mythingie;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement