Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var selectedOrbScript : scr_gridArray;
- var xCoord : int = selectedOrbScript.c; //sets xCoord = to the c value in the loops for the 2D array
- var yCoord : int = selectedOrbScript.r; //sets yCoord = to the r value in the loops for the 2D array
- function OnMouseDown ()
- {
- print (xCoord);
- print (xCoord);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement