Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UnityEditorInternal.ComponentUtility.CopyComponent(fromObject.GetComponent(fromObjectComps[i].GetType()));
- UnityEditorInternal.ComponentUtility.PasteComponentValues(toObject.GetComponent(toObjectComps[i].GetType()));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement