Advertisement
Guest User

Untitled

a guest
Sep 15th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var selectedOrbScript : scr_gridArray;
  2. var xCoord : int = selectedOrbScript.c; //sets xCoord = to the c value in the loops for the 2D array
  3. var yCoord : int = selectedOrbScript.r; //sets yCoord = to the r value in the loops for the 2D array
  4.  
  5. function OnMouseDown ()
  6. {
  7.     print (xCoord);
  8.     print (xCoord);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement