Advertisement
tmoneygames

Add This to FlameThrower02

Oct 18th, 2019 (edited)
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | Source Code | 0 0
  1. # in the primary shoot try this code and see if it works
  2. # make the flamethrower a child of the butterfly
  3.  
  4. GameObject flamethrower = Instantiate(A, new Vector3 (0,0,0), Quaternion.identity) as GameObject;
  5. flamethrower.transform.parent = GameObject.Find("butterfly").transform
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement