Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. UnityEditorInternal.ComponentUtility.CopyComponent(fromObject.GetComponent(fromObjectComps[i].GetType()));
  2. UnityEditorInternal.ComponentUtility.PasteComponentValues(toObject.GetComponent(toObjectComps[i].GetType()));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement