Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # in the primary shoot try this code and see if it works
- # make the flamethrower a child of the butterfly
- GameObject flamethrower = Instantiate(A, new Vector3 (0,0,0), Quaternion.identity) as GameObject;
- flamethrower.transform.parent = GameObject.Find("butterfly").transform
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement